Search Results

Search: Posts Made By: karthik771
2,260
Posted By karthik771
Hi I am using -csh shell. Operating...
Hi

I am using -csh shell.

Operating system is Red Hat Enterprise Linux Server release 6.6

I am not getting any error while executing the script.

Filename with *.fnr will be generating...
2,260
Posted By karthik771
Below is the content
Hi,
Below is the script.I have declared variable for check.log .I am using echo to set for the document
echo "-------------File Check------------------" > check.kog -This is not working in script...
2,260
Posted By karthik771
Redirecting output to file
Hi,

I have created script which redirect the output to file.I am able to get the output in file but not in the format.

Output :Content of the log which have 10 -15 lines.

Actal :Line1 ..Line...
19,964
Posted By karthik771
Hi, I just want to cat the contents of the...
Hi,

I just want to cat the contents of the file *.fnr and mail the content in mail.

My requirement :

Find the file name in today date.

cat the log file and to send the log in mail.

It...
19,964
Posted By karthik771
Hi, I have changed the code as you mentioned...
Hi,

I have changed the code as you mentioned but the cat command is not executing content=$(cat "$File") getting below error.

cat: invalid option -- 'r'
Try `cat --help' for more information....
19,964
Posted By karthik771
Send file content in mail
Hi .

I am new to scripting.I am trying to mail the recent file contents but not the below script which i wrote is not working.Please guide me in finishing the script

File='find /Directory...
Showing results 1 to 6 of 6

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