thank you guys but nothing worked
Intel_Peter I tried what you said. it still didnt work.
hi mhahn
I tried your script it didnt work . It doesnt show on ps and nohup.out isnt getting updates
What am i doing wrong here?
root@edison:/home# cat nohup_test
#/usr/bin/env sh
x=1
while [ 1 ]; do echo $x; sleep 1; x=$(($x+1));
done
root@edison:/home# nohup ./nohup_test &
root@edison:/home# nohup: appending output to nohup.out
root@edison:/home# ls
PositronicBrain nohup.out root
lost+found nohup_test
root@edison:/home# cat nohup.out
1
2
3
4
5
6
7
8
9
10
root@edison:/home# exit
Connection to 192.168.1.102 closed.
gowris-MacBook-Pro:~ gowrisomanath$ ssh root@192.168.1.102
root@192.168.1.102's password:
root@edison:~# cd /home
root@edison:/home# cat nohup.out
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
root@edison:/home# cat nohup.out
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
root@edison:/home# cat nohup.out
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
root@edison:/home#