Search Results

Search: Posts Made By: ramkumar15
1,688
Posted By ramkumar15
hi ravinder, its works now. sorry for not...
hi ravinder,
its works now.
sorry for not mentioning the OS details.

can you please explain what the below syntax does.


awk '{sub(/.*_W/,X,$1);print}'
1,688
Posted By ramkumar15
thanks for your response ravi. I am not...
thanks for your response ravi.

I am not sure how this value sets


val=${A##*_M}


I am receiving a bad number below when I executed the script.


house.sh[4]: val: bad number
1,688
Posted By ramkumar15
UNIX command
From the below list of the files I need to delete the files where any file name greater than having M1400.

I can use _ as splitter. but not sure what is the exact command.


/files/US> ls...
1,154
Posted By ramkumar15
UNIX command
hi all,

I need to execute one command in shell script after 120 seconds through crontab.

I have given sleep 1m. but this does not work. any idea please.



sleep 60s



but the...
1,455
Posted By ramkumar15
UNIX mail command
I am using HP-UX server. I tried to send the email with attachment, I used the below unix command to send with attachment but it doent work.



uuencode pepsitoday.csv | mailx -s "csv file"...
1,147
Posted By ramkumar15
this reside in PATH variable. I can able to...
this reside in PATH variable. I can able to start/stop only on that path variable.



sudo /oes/oracle stop => PATH=/usr/local/bin/



do I need to include the grep, ps location in my...
1,147
Posted By ramkumar15
can you plz let me know how to find those...
can you plz let me know how to find those utilities location of grep,mailx,ps ?
1,147
Posted By ramkumar15
Shell script error
I have wrriten a shell script and getting a below error.



ps -ef | grep "Exp" | mailx -s " Instance Currently Running Before Stop" abi@pepsi.com
mailx -s "webshell instance will be stopped...
2,331
Posted By ramkumar15
hi ravi, would like to know does the below...
hi ravi, would like to know does the below command is efficiency to use.



#!/bin/ksh
for i in `cat 'files/chang1.txt`
do
sed -i 's/apple/orange/' $line
done
2,331
Posted By ramkumar15
I have list of 1000 files in a text file, can...
I have list of 1000 files in a text file, can anyone tell me how to replace a word in all the 1000 files. I have placed all the text files names in the a text file. changes.txt

this is command I...
2,331
Posted By ramkumar15
Not replacing using sed
Hi all,

I am trying to change the below word. but the changes is not reflecting in the new file



sed -n 's/apple/orange/' filename



---------- Post updated at 12:51 AM ----------...
2,171
Posted By ramkumar15
/usr/local/bin/zip Do you have any...
/usr/local/bin/zip



Do you have any idea how much the files can be zipped maximum if I am using the above utiltity.
2,171
Posted By ramkumar15
Tar error
do you have idea what is the limit to zip the file.


+ tar -cvf - today.txt
tar: Size of today.txt >= 8GB. Not dumped.
1,185
Posted By ramkumar15
rudic. its works as I expected with your command....
rudic. its works as I expected with your command.

can you let me knw why the command which I provided is not working.

thanks a lot for your help
1,185
Posted By ramkumar15
i would need to send the servers list which are...
i would need to send the servers list which are running in the backend.

In the email it should be displayed what are the process is running.



ps -ef | grep "Server" > /shome/kk/text.txt
...
1,185
Posted By ramkumar15
Shell script question
I am not sure which is the better way for the below shell script.

I need to find the below process running and sent it to the desired user.

please let me know which is most feasible right...
984
Posted By ramkumar15
I checked & for cc it denoted to provide the ~c. ...
I checked & for cc it denoted to provide the ~c.

I have tried the below command, but the test2 mail is not listed in the cc list.


mailx -s "test" test1@wide.com (test1@wide.com) ~c...
984
Posted By ramkumar15
the option which you have provided is working...
the option which you have provided is working for me.

-c doesn't work for me.

Not sure whether it will work in hp-ux system.
984
Posted By ramkumar15
Mail commands
Currently, I would need to keep cc a person in the email.

I am using hpunix


mailx -s "instance has been started now" -c Karthi@wide.com arun@wide.com (arun@wide.com) < /dev/null

...
1,398
Posted By ramkumar15
UNIX mail box
Currrently I am not able to send/receive any emails to email id. I believe my mail box is full in server. could you please let me kknow to clear the emails in the unix server.
1,136
Posted By ramkumar15
Perl script module
I took the copy of the production module to the home directory and executing the module.

one of the test prdmsk.pm module is present in the home directory ctskk. would like to know whether the...
1,024
Posted By ramkumar15
thanks a lot for all your help its works now.
thanks a lot for all your help its works now.
1,024
Posted By ramkumar15
I am using ksh and using hp-ux I am not...
I am using ksh and using hp-ux

I am not sure how to replace string which present / in the word.

sed 's/cts//' file.txt
1,024
Posted By ramkumar15
Shell script
I have written a shell script where to replace the /cts/ word to / in all the 100 requested files.

I have looped the 100 files in for loop. plz let me know what replace command I can use to...
2,100
Posted By ramkumar15
sed 's/\ftp\//g' filename.txt >filename1.txt
sed 's/\ftp\//g' filename.txt >filename1.txt
Showing results 1 to 25 of 159

 
All times are GMT -4. The time now is 07:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy