Quantcast
Channel: UNIX and Linux Forums
Browsing all 16232 articles
Browse latest View live
↧

UNIX command to go to next line

I've a requirement to reposition the cursor on the new line after 'n' characters on a line/string in a flat file in UNIX. Please help me with this.

View Article


Date range

Dear all, how can I select in the file below only the files created between Aug 14 2014 and Feb 03 2015? Code: EZA2284I -rw-r--r--    1 30      8          356954 Aug 15  2014 file1 EZA2284I -rw-rw-r--...

View Article


Perl program

can anyone help me out to write a code by connecting to the sql database and I need to print the list of tables present in the databse. any ideas please.

View Article

Need to sum up a column value from multiple files into Credit and Debit...

i have multiple files with Batch Header, Record detail & Batch trailer data in the files like : Code: BH 20150225950050N8262 RD 20140918000000 99999999 unk Deferred Settlement -13950 BT01 -13950...

View Article

Help needed to install mrepo

Hi, My RHN subscription just got expired and I wouldn't want to renew the subscription just because I dont expect to contact RHN for support. I am running RHEL 6.4 on a VM. I just got to know about...

View Article


Unable to change password using root user

Hi, I tired changing password for mqm user in linux server with root user. But still I couldn't able to login mqm user with changed password. Can anyone please help on this. Code: [root@huxccc111 ~]#...

View Article

Shell script doubt

Hi all, can you plz check whether the below code is correct & some inputs. I need to read the below file and process it. input : Code: /home/ibm/var.txt   urgent not urgent not needed. Code:...

View Article

Breaking large file into small files

Dear all, I have huge txt file with the input files for some setup_code. However for running my setup_code, I require txt files with maximum of 1000 input files Please help me in suggesting way to...

View Article


SRM_TOO_MANY_RESULTS error

Dear all, I have script which copy the file from SMR to some txt file [1]. However for one case with directory having more than 1000 files, it is giving the following error [2]. Google is not providing...

View Article


Copy Directory Tree from one Server to Another

Hi, I have a serverA with Directory "/opt/app/myfiles" which is 8.5GB with more than 40000 files and 45 folders in it. I wish to transfer the folder "/opt/app/myfiles" tree structure with all the...

View Article

User Agents Identifier

Hi, Can anyone help me write a script tp determine the web browser from a user agent. A user agent is stored in a file and consists of hundreds of lines e.g. Code: 37050 Mozilla/5.0 (Windows NT 6.1;...

View Article

[Solaris] rsync unexpected EOF in read_timeout

Hi all, i'm trying to rsync directories from server A to server B ssh works perfect without keys, scp also works, but when executing the rsync command i get the following error: permission denied...

View Article

When does Autosys Profile loaded?

hi, would like to know if anyone knows or could verify and give me an answer on when autosys does actually load the profile whether in Activated state or Running state. Scenerio am trying to look for...

View Article


Need help in writing UNIX script either through awk or thorugh UNIX commands

I want to make a script in unix .I have 2 files with same structure with pipe as a delimiter. Now first i want to check if column1(eid)-->file1 is present in column1(eid)-->file2,if so then it...

View Article

Help in UNIX script

HI want to make a script in unix .I have 2 files with same structure with pipe as a delimiter. Now first i want to check if column1(eid)-->file1 is present in column1(eid)-->file2,if so then it...

View Article


SUSE 12 - OS Error

Hi Team, I have a problem with OS installation of SLES 12 from download of trial version. The message is showing Code: "Failed to initialize the software repository. Aborting the installation."...

View Article

From where mv command picks

Hi, I am using mv command for moving file Code: mv /tmp/test /tmp/test_bkp but I am getting Code: change from notrun to 0 failed: Could not find command 'mv' I am using mv command in puppet language,...

View Article


CPU is high

Hi , We found CPU is high due to python process .Is this something that Oracle team should look on or Unix team has to work on it ?Could you please advise use of python process ? Code: top - 12:03:03...

View Article

Creation of Oracle table through shell scripting

Hi, I am trying to create a table through shell scripting . I used a command sqlplus -s to connect to sqlplus and user as sysdba. but there is a problem in it. can anyone please solve this ....

View Article

Grep for strings

Hi, Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.94 Safari/537.36 How can I grep for the strings chrome and safari from a file, and if chrome...

View Article
Browsing all 16232 articles
Browse latest View live