|
yes, that would exit right away. all you're doing is changing directory, which finishes (either successfully or unsuccessfully) and returns. the -f option is for commands more like: 'ssh -f host xterm', where the remote command will remain in a run state for a while, like until you are done with your xterm session.
use screen or nohup
|