10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Appreciate help for the below issue.
Im using below code.....I dont want to attach the logs when I ran the perl twice...I just want to take backup with today date and generate new logs...What I need to do for the below scirpt..............
1)if logs exist it should move the logs with extention... (1 Reply)
Discussion started by: Sanjeev G
1 Replies
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
7 Replies
3. Shell Programming and Scripting
Hi,
I have one shell script, which run another one script inside in nohup mode. I want to search one string from the nohup.out file in the same shell script itself .Can anyone help me??
Please find the code below:
total_ear=`cd ear ; ls *.ear | wc -l | tr -d ' '`
for ear in `cd ear ; ls... (1 Reply)
Discussion started by: ckchelladurai
1 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I have one shell script, which run another one script inside in nohup mode. I want to search one string from the nohyup.out file in the same mail shell script itself .Can anyone help me??
Please find the code below:
total_ear=`cd ear ; ls *.ear | wc -l | tr -d ' '`
for ear in `cd ear ; ls... (0 Replies)
Discussion started by: ckchelladurai
0 Replies
5. Red Hat
Hi all,
is it possible to add a comment starting with "#" (with vi for example) to the static route file in:
/etc/sysconfig/network-scripts/route*
Are you aware of any problems this can cause after a network restart?
Thanks,
Evan (1 Reply)
Discussion started by: Evan
1 Replies
6. Shell Programming and Scripting
Hi to everybody.
Is it possible to nohup a process and redirect the output to a file containing the PID?
E.g. if
nohup filename > out.nohup
associate the PID=8074 to filename, is it possible to call the output file something like out_8074.nohup instead of out.nohup? By this way it would... (0 Replies)
Discussion started by: plsrn
0 Replies
7. OS X (Apple)
I've seen the executable open in the application OmniOutliner, can I create an executable with this app? I'd like to be able to create the unix executable and insert it into terminal, but I'm not sure if the Omni app will allow me to create it.
Any one have any ideas or possibly familiar with... (10 Replies)
Discussion started by: unimachead
10 Replies
8. UNIX for Dummies Questions & Answers
Hey Every one
I have a find statement which find the files and deletes them
find /web/local/orderlink/batchmanaged01/scripts/SMOappLogs/log -name 'orderlink.log.*' -type f -mtime +$10-exec rm -f {} \;
This statement if finds a file at the given location it will delete the files but if it... (4 Replies)
Discussion started by: pinky
4 Replies
9. UNIX for Dummies Questions & Answers
Hello,
I have a nohup.out file that, when executed, outputs a spreadsheet file
with four-to-seven columns of number. I want to copy this output (in its entirety), so that I could then paste it on excel@ , or Notepad@.
Please help, thanks. (3 Replies)
Discussion started by: Iamthe great
3 Replies
10. Shell Programming and Scripting
Hi,
I am running my script using nohup, but I am not able to capture the log file for that process could naybody please help...
Here is what I am doing....
nohup ./script & 1>/home/user1/log.txt
but I am not able to capture the log.....Is there anyother way I can capture the log... (2 Replies)
Discussion started by: mgirinath
2 Replies