Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to logout without terminate a process?

Posted on 1997-11-25
1
Medium Priority
?
264 Views
Last Modified: 2006-11-17
If I only run a command at background with '&', when I
log out the process got terminated. Can I avoid that?
Thanks.
0
Comment
Question by:xzhang
1 Comment
 

Accepted Solution

by:
pvenezia earned 120 total points
ID: 2007992
The proper way to do this is to use nohup. You didn't specify an OS, so I can't give you any paths, but run `man nohup` for more info.

Generally, the syntax is:

nohup /path/binary &



0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month8 days, 6 hours left to enroll

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question