on AIX 6.1
Will this work :
Or it should be :
nohup mycommande &
It seems that
nohup mycommande &
is faster than :
I am using the bash shell. I frequently use nohup to ensure that my processes are not stopped when I close the shell/terminal that started them. I use a syntax like:
When starting, nohup gives the message:
nohup: ignoring input and appending output to 'nohup.out'
Then, nohup gives no more output to the screen; it is all written to nohup.out.
I have a bash script, where several other programes are started with nohup (all have the same executable, but different parameters), e.g.:
nohup ./code --p0 &
nohup ./code --p1 &
nohup ./code --p2 &
Is it possible to write a while loop after the nohups calls, which terminates when all the ./code runs are finished?
I frequently use the program nohup so that my processes are immune to hangups. So if I want to make the program program immune to hangups, I use the command
nohup program &
where & puts the process in the background.
When starting, nohup gives me the message:
nohup: appending output to `nohup.out'
Is there any way to send the output to a file other than nohup.out?
I want to start my server through nohup.php but the command is not running and displays following error
nohup:ignoring input and appending output to 'nohup.out'
I am using ssh through putty, this is what i am doing
nohup php server1.php
could u pls help me with below sh script.
su - oracle
sqlplus -s username/pwd@dbname
DELETE FROM table1 a WHERE id < (SELECT MAX(id) FROM table1 b WHERE a.msisdn= b.msisdn);
i tried to run with "
nohup test.sh & " but error below appear :
[root@mcnbadbucm tmp]# nohup test.sh &
[root@mcnbadbucm tmp]# n
I am trying to pull data from a txt file which has 51 lines
Now i want to send above data as input to script but i want to run them twice at a time in a nohup
nohup Script_name AK &
Nohup Script_name AR &
And to run the remaining two it should complete the nohup execution for AK & AR.
I want to test if script.sh is being run with nohup ... but $0 does not contain nohup part...
purpose: script.sh should only be ran with nohup if user forgets nohup then it should echo "run with nohup" && exit.......
I have to start a process as background and I know how to start it with "nohup" but over the time "nohup.out" is getting bigger and actually I dont want because the log is giving me the same output as nohup.out.
If anyone knows it, please let me know
I don't know if I can do it with nohup, but this is the question.... I have this command:
nohup java -XX:MaxHeapFreeRatio=70 -Xmx2048M -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=dump.hprof -jar $iscsiJar &
and I want that when the day change I save the before day nohupYYYYMM01.out and create another file nohupYYYYMM02.out , of course, with out kill my process.