10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a problem here.
i am running my script in nohup but if i run it 2 or three time , in my output i see it is giving me old data as well, in-spite i delete nohup.out file.
i tried to look a lot from where the old data is coming.
can some one tell me how the old data is also coming again and... (11 Replies)
Discussion started by: mirwasim
2. Shell Programming and Scripting
Shell : bash
OS : Oracle Linux 6.4
I want to save the ouput of a nohup command to file other than nohup.out . Below are my 3 attempts.
For both Attempt1 and Attempt2 , the redirection logs the output correctly to the output file. But I get the error "ignoring input and redirecting stderr to... (7 Replies)
Discussion started by: kraljic
3. UNIX for Dummies Questions & Answers
Hi Every one , i wrote a script for nohpu ,which checks the service by using the port number and starts if it doesnt hear the port. It works good untill i colse the session. how to make it work even after closing the session .And aslo how to deamoize this script
netstat -ptlen |... (2 Replies)
Discussion started by: vikatakavi
4. Shell Programming and Scripting
I got rather bored so i decided to create a script that creates a countdown, and shows hours:minutes:seconds till that time.
It works fine until the seconds of the actual time reaches 8, then it tries to use it to work out the difference as in "SECONDDIFF=$"
Here's my code where I get the... (12 Replies)
Discussion started by: DuskFall
5. Shell Programming and Scripting
Hi, so I have been trying to write a shell script to go through a log file and through that, generate another file with all the Valid IP addresses it finds. So there's the complication that there could be incomplete or invalid data which would disqualify it from making my "Valid IPs" file I need... (3 Replies)
Discussion started by: shellcow
6. UNIX for Dummies Questions & Answers
Firstly thanks for reading my query..I am a complete newbie in Unix and I recently read about nohup command which is responsible to continue execution in background. But I have found some command where time is used alongwith nohup as given below:-
nohup time A.sh &
I don't know why... (2 Replies)
Discussion started by: saswati16
7. Shell Programming and Scripting
I'm executing a binary with nohup in a menu(shellscript) and output is going to nohup.out fine.
I need few lines of nohup.out should be displayed on screen so that I will come to know the process is successfully started and continue with other options in my menu.
Thanks in advance. (3 Replies)
Discussion started by: axes
8. Shell Programming and Scripting
I have prepared a script to find the log file based on a date range defined in one of the environment files, archive the logs files and move them to a particular directory.
Below is the script:
logfile=$scripts_path/Logs/file_archive1.log... (17 Replies)
Discussion started by: svajhala
9. UNIX for Dummies Questions & Answers
I need execute a script every 30 minutes. As might be done without using cron
Thx. (6 Replies)
Discussion started by: pepeli30
10. Shell Programming and Scripting
I need to your help. I want write a script search for rows in file1 if exist in file2 it will print rows from file2 else it will print rows from file1 with out any duplicate
... (4 Replies)
Discussion started by: kmuqalled