10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm stuck with my automation of starting a process and keeping it running even after the current ssh session has exited..
So i'm trying to use command 'screen'. which is doing exactly what i wanted, But the problem is automation of the same.
i will have to press Ctrl+a and Ctrl+d for... (2 Replies)
Discussion started by: chandana hs
2. UNIX for Dummies Questions & Answers
I am trying to add a newline char ('\n') between the query and the commit statement in the following shell script.
echo "select * from tab; commit;" > data.sql
I have tried typing in "Ctrl-V + Ctrl-J" combination which has inserted ^@ (NUL) character but the commit... (1 Reply)
Discussion started by: royalibrahim
3. Shell Programming and Scripting
Am trying to send mail using the mail command, but the mail command is working but its not sending automatically after pressing .(dot) in the command prompt it sends . How to achieve that. Also it showing the below line after pressing the dot .
/home/abc1/dead.letter... Saved message in... (5 Replies)
Discussion started by: rogerben
4. Shell Programming and Scripting
while executing shell script, in the middle of the process, if we kill the shell script( ctrl+z or ctrl+c), script will be killed and the files which using for the script will be in the folder.
How to handle those scenarios. Is there any possibilities, if user breaks the script, I need to... (3 Replies)
Discussion started by: ckchelladurai
5. Shell Programming and Scripting
Could you please help with this.
This is what I have:
But this is what I want:
506234.222 3 (5 Replies)
Discussion started by: canimba
6. Shell Programming and Scripting
H! I have written script where it need to invoke the perl script in background, then write the pid in temp file then bring back the job to foreground. whenever the Ctrl-C or Ctrl-Z is pressed in the script has to exit and prompt should be dispalyed. but this script causing exit from shell session... (2 Replies)
Discussion started by: jramesh1
7. Shell Programming and Scripting
I am trying to generate quarter dates with user giving input as begin date and end date. Example: Input by user:
begin_date = "2009-01-01"
end_date = 2010-04-30"
2009-01-01 2009-03-31 09Q01
2009-04-01 2009-06-30 09Q02
2010-01-01 2010-03-31 10Q01
... (9 Replies)
Discussion started by: sol_nov
I am trying to read HTTP data from a socket. However, for the final set of data being read using read(), read blocks and the control doesnt come back for further processing. I tried using select, but it didn't work...
Any help would be greatly acknowledged.:) (2 Replies)
Discussion started by: Harish.joshi
9. Shell Programming and Scripting
I have a write a script in VI editor.whenever i open the Vi script ,it is showing ctrl-M at the end of each line.
Please tell me how to remove this Ctrl-M from each line.
Thanks in Advance (3 Replies)
Discussion started by: navi
I wrote a ksh script for Helpdesk. I need to know how to disable ctrl-c,ctrl-z,ctrl-d..... so that helpdesk would not be able to get to system prompt :confused: (6 Replies)
Discussion started by: wtofu