Search Results

Search: Posts Made By: Karthick N
1,827
Posted By Karthick N
Thanks Dave:)
Thanks Dave:)
1,827
Posted By Karthick N
Oops, sorry dave should have given it before. ...
Oops, sorry dave should have given it before.


I'm using a ubuntu server and it would be a bash script.


Thanks
Karthick
1,827
Posted By Karthick N
Start up init d script
Hi All,

I'm trying to build a start up script, wud be gr8 if any one can explain what the below field means and how can i check it for my script.



...
1,357
Posted By Karthick N
Thanks Don, your post was useful.
Thanks Don, your post was useful.
1,357
Posted By Karthick N
using Ksh
using Ksh
1,357
Posted By Karthick N
Reg trap signals
let LIMIT=50
function check {
if [[ LIMIT -eq 50 ]]; then
print LIMIT OK
else
print "LIMIT changed!"
fi
}
trap check DEBUG
print $LIMIT
LIMIT=$((LIMIT + 30)) ...
5,246
Posted By Karthick N
Sorry sir, Maybe bit curious:-p. I misjudged....
Sorry sir, Maybe bit curious:-p. I misjudged. It's working well now:) thanks for support. Keep rocking:)
5,246
Posted By Karthick N
Hi thanks for the reply, But if it s ls -ltr...
Hi thanks for the reply,

But if it s ls -ltr > listed , the file will be created once, after which it throws a error if we run run the script next time. this script will be daily cron, so is there...
5,246
Posted By Karthick N
Shell script to overwrite a file
Hi Guys,

My requirement as follows,

i want to write a shell script to display the files of a folder, i export it to a file to mail the file. The problem is the exported file is getting appended...
10,475
Posted By Karthick N
Thanks fundix, it works well now:)
Thanks fundix, it works well now:)
10,475
Posted By Karthick N
To display last 5 lines of a file
Hi Guys,

I want to echo last 5 lines of a file to a mail. My script getting continuously looped and not getting the output. can anyone help?

#!/bin/bash
read karthick;
tail -5 $karthick;...
3,453
Posted By Karthick N
Hi
Hi Alister,

It would be of great help if you also guide me with the command to open a file using shell script.
3,453
Posted By Karthick N
To open a file in shell script.
Hi Guys,

I want to open a file in shell script and copy the last file of the line for display. Can anyone help??
2,013
Posted By Karthick N
Thanks JPT
Hi Jpt,


Thank you, Very much for your reply. It got solved:). i checked in the mail log and found out the problem.

Thanks again:)
2,013
Posted By Karthick N
Thanks Rudic for your reply!
Hi rudic, thank you very much for your reply. I even tired to pipe the output. But of no use. I use ubuntu, should i do any network changes? to get the output mail?
2,013
Posted By Karthick N
Mail function in shell scripting
Hi Guys,

i'm new to scripting, please help me to write the script.

Purpose: To write a simple addition program and to mail the output result.

Script:
#!/bin/bash
echo "entr numbers";
read...
Showing results 1 to 16 of 16

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