Search Results

Search: Posts Made By: arukuku
4,020
Posted By arukuku
HTML and attachment using mutt command
Hi All,

I want to attach the file as well send html content in the mail body using mutt command or any other command.(uuencode is not present). Please help me. Thanks in advance
1,283
Posted By arukuku
Time difference command in Sun sorlaris
Hi ,

I want to find out the time difference. If the system date and time is "Jul 18 05:39:00" EST then it should return "Jul 18 04:39:00". i.e one hour differnce in time. Pls help me out.
...
7,955
Posted By arukuku
How to remove JUNK characters (FROM�)
Hi

I have to remove the junk characters from my file. Please help..

File content :

CURITY_CODE_GSD) FROM� DL_CB_SOD_EOD_VALUATION WHERE� ASOF
29,272
Posted By arukuku
The specific host is the admin box... I have to...
The specific host is the admin box... I have to run the script from after telneting..
29,272
Posted By arukuku
How to execute command after telneting in shell script?
Hi ,

I have to write a shell script to telnet to specific host and execute the admin command there. Please help me to do that.

Eg : telnet hostname portno
admin command
...
9,150
Posted By arukuku
mailx -s "Process count values for ccms and...
mailx -s "Process count values for ccms and LogSearc for `date`" $MAIL_IDS < file_name
9,150
Posted By arukuku
How to send e-mail from shell script ( C shell )?
Hi ,

How to send e-mail from shell script ( C shell ) . Mailx command is not working ( It didn't giving error also ). Please help me
1,359
Posted By arukuku
Supressing error while using grep command
I am tryin to grep some pattern in file and redirecting it in to another file. If the file doesn't exist then it should not throw error.

eg : grep "pattern" "$path1/filename" >> newfile

I...
3,061
Posted By arukuku
Thnx ahamed101 & thegeek
Thnx ahamed101 & thegeek
3,061
Posted By arukuku
How to suppress the error while copying the file
HI ,

I am tryin to copying multiple files from some dir. If the files are not present. It should not throw error in the screen. HOw to do that . Please help
4,397
Posted By arukuku
Birei , I want the line number for which the...
Birei , I want the line number for which the pattern matches.
Sham rock, Ya tryin to do that. But not able to do it . I want to do it in awk only
4,397
Posted By arukuku
How to display the line number of file while searching for a pattern
awk 'BEGIN{IGNORECASE=1} /error|warning|exception/ { ++x } END { print x }' filename

The above command returning the number of times the pattern present in the file. But I want the the...
2,052
Posted By arukuku
Actually I need a shell script to do it. Eg : ...
Actually I need a shell script to do it. Eg :

sh login.sh "arun1"
login.sh contains

variable=$1
if [ $variable = arun1 ]
then
ssh jabbo1 sh another_script.sh
elif [ $variable =...
2,052
Posted By arukuku
How to pass a variable from one host to another host
Hi ,

I have to pass a string through a variable from one host to another. Is that any any way to do it . Please help me
31,365
Posted By arukuku
Thanks a lot ahamed and balajesuri. Both are...
Thanks a lot ahamed and balajesuri. Both are working fine
31,365
Posted By arukuku
Ignore case in awk while pattern searching
Hi ,

I have the file where i have to search for the pattern. The pattern may be lower case or upper case or camel case. Basically I want to ignore while searching the pattern in awk.
awk...
2,336
Posted By arukuku
Thanks Guru. Now I want the content ( btn enter...
Thanks Guru. Now I want the content ( btn enter and finish ) which contain a string called error. Pls help
2,336
Posted By arukuku
Input file: Arun kumar something somehting...
Input file:

Arun kumar something somehting Enterting in to the line
.
.
.
.
Some text text Finshing the sentence
Some other text
.
.
.
.
Again something somehting Enterting in to the...
2,336
Posted By arukuku
Franklin thanks for your reply. "Enterting in to...
Franklin thanks for your reply. "Enterting in to the line" and "Finshing the sentence" are the two patterns. After extracting the code I have to check the words like ERROR or Warning or Error in the...
2,336
Posted By arukuku
Split the file based on the content
Arun kumar something somehting Enterting in to the line
.
.
.
.
Some text text Finshing the sentence
Some other text
.
.
.
.
Again something somehting Enterting in to the line
.
.
.
....
2,358
Posted By arukuku
Thanx a lot
Thanx a lot
2,358
Posted By arukuku
HOw to provide tab in a file using echo
Hi ,

I have a file with 5 colums each are sererated by tab. I am reading each line and adding extra two columns , the value depends on 5th column..

Now am trying to store each and every...
2,877
Posted By arukuku
du -sk /user/dir1/dir2/file1 -> its working ...
du -sk /user/dir1/dir2/file1 -> its working
path="/user/dir1/dir2/file1"
du -sk $path -> working
path=`head -1 export1.tsv | awk '{ print $5 }'`
du -sk $path - Not working

cat...
2,877
Posted By arukuku
Thank you. I am wondering du command executing in...
Thank you. I am wondering du command executing in the command line.
But when i gave the same command in .sh file. it is giving

du: cannot access /user/dir1/dir2/file1\r : No such file or...
2,877
Posted By arukuku
How to suppress the file name when we check for disk space
How to supress the file name when we check for disk space ?

I used this command :
du -ks /home/dir1/dir2/file.csv

it returns
13 /home/dir1/dir2/file.csv

Please explain the...
Showing results 1 to 25 of 42

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