Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



Question
In Linux, how do you run a command, e.g. ls -la /bin/, in the backgroup and make sure it continues running even if you log out?
Answer
nohup ls -la /bin/ &
^^nohup ensure that the SIGHUP(terminate signal) is ignored (i.e. even if terminal is closed/you log out), & runs command in backgroud

Question
In Linux, how do you run a command, e.g. ls -la /bin/, in the backgroup and make sure it continues running even if you log out?
Answer
?

Question
In Linux, how do you run a command, e.g. ls -la /bin/, in the backgroup and make sure it continues running even if you log out?
Answer
nohup ls -la /bin/ &
^^nohup ensure that the SIGHUP(terminate signal) is ignored (i.e. even if terminal is closed/you log out), & runs command in backgroud
If you want to change selection, open document below and click on "Move attachment"

4. Basic Commands
sense later.) lynx <url> Opens a URL [URL stands for Uniform Resource Locator--a web address.] at the console. Try lynx http://lwn.net/ . links <url> Another text-based web browser. <span>nohup <command> & Runs a command in the background, appending any output the command may produce to the file nohup.out in your home directory. nohup has the useful feature that the command will continue

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill


Discussion

Do you want to join discussion? Click here to log in or create user.