Hi Holger, > >screen > > > >then run command > > > >when it is running, do a Ctrl-A then D which will disconnect that screen. > > > >to get back to it, do > >screen -R > > That's not exactly what I need. After starting the task, I end my ssh > connection. After some hours, I want to see the output of the task. For some > reason, piping it to a logfile does not work. So how can I write a logfile?
That's what screen is for. You start your command _inside_ screen. Then detach from the screen (which leaves the command running), then close your ssh connection. When you connect back, you re-atach to screen using -R and get back. Screen is a terminal multiplexer. It's like VMware for terminals. :-) Tino. -- "What we nourish flourishes." - "Was wir nähren erblüht." www.craniosacralzentrum.de www.forteego.de ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ BackupPC-users mailing list [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
