You are not logged in.
Well its two questions:
1. If I am logged on at home at tty1 and then I ssh into the server and I would like to log off the tty1 session, how can I do that?
2. Im from the Windows world and lets say I'd like to copy some files for 3 hours. In Windows I can start the copy and then press [WINDOWS]+[L] to lock the computer but the copy is still going on in the background and no other person can access the computer. Is there a similar way in linux while in bash? Lets say I need to copy some files and then go grab a coffee...?
Last edited by ftornell (2010-10-06 06:50:54)
[ logicspot.NET | mempad.org ]
Archlinux x64
Offline
Look into gnu screen or dtach. You can detach whatever your doing from the parent shell, allowing you to logout without whatever you're doing dying.
Offline
Don't forget tmux
Offline
Also in gnu screen, you could use the lockscreen command ('C-a x' by default) to lock your terminal.
I'm not totally sure if it works, but you could also use the 'nohup' command when backgrounding another command (example; '$ nohup cp bigfile &'), so that when you exit bash, the backgrounded job doesn't get killed.
Offline