nohup is good, but I would also sugest the most excellent program
screen for running your cmds in a remote terminal or wanting to close a term and leave stuff running. Screen is great for coding on remote servers becasue you can detach/reattach to your remote session without loosing anything ( like if you on dialup adn you are writing code on a server and loose connection you can reconnect and re=attach to your screen session)
example:
ssh foo
foo> screen
foo> cat /dev/zero&
bunches of zeros!
foo> screen -d OR close xterm
new term:
> ssh foo
foo> screen -d -RR
bunches of zeros! from original session
Screen is a virtual Terminal it rocks and It's one othe those programs that after you start using it you wonder how you ever lived without it! ( I sure do! ). Other great thing is mutiple virtual terminals in a single term (C-a c, C-a n)
if you are gonna
fork then I would reccomend a nice module called
Parallel::ForkManager
enjoy!
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.