1. nohup command > output.txt &
nohup command > /dev/null &
2. disown -h jobnumber
disown -ar
3. screen
screen -list
screen -Dr number
screen -dm -S name -t titlename
4. script -t 2> timing
ls
note: -t flag tells the script to output all timing info to standard error, so later we call scriptreplay, feeding it the timing file. take note of that replaying a session is only guaranteed to work properly on the terminal where the oriiginal session output file was created.
for realtime monitoring on another tty
mkfifo out
script -f out (waiting for another person to do 'cat out' in another ssh session, then it will promopt command line promot to continue)
then use
Tuesday, October 30, 2007
Tuesday, October 23, 2007
nohup and disown
1. nohup command >/dev/null &
nohup command > filename &
kill -9 number
2. command
disown
command
disown -h jobnumber
%job-number
command
disown -ar
nohup command > filename &
kill -9 number
2. command
disown
command
disown -h jobnumber
%job-number
command
disown -ar
Thursday, October 11, 2007
read and display each line of a file
1. command line
while read line ;do echo $line ;done < /etc/hosts
2. script
[db2inst1@vapp1-1 resetocbc]$ more /tmp/i.sh
while read line
do
echo $line
done < /etc/hosts
while read line ;do echo $line ;done < /etc/hosts
2. script
[db2inst1@vapp1-1 resetocbc]$ more /tmp/i.sh
while read line
do
echo $line
done < /etc/hosts
Saturday, October 6, 2007
useful URL
www.nomachine.com - nx free
http://www.citadel.org - groupware server
www.visualware.com - myspeed graph test and visualroute
http://www.debianhelp.co.uk/tools.htm - linux freeware tools collection
http://www.citadel.org - groupware server
www.visualware.com - myspeed graph test and visualroute
http://www.debianhelp.co.uk/tools.htm - linux freeware tools collection
Subscribe to:
Posts (Atom)