nohup make results 2>&1 |tee lmbench.log &
nohup command 2> & 1 | tee lmbench.log & no need to apply only to knock the x or y
nohup role: to execute the program in the background server, the command executes the program does not depend ssh interface.
Usage: nohup command to be executed &
1, the query is installed nohup
which nohup--查看/usr/bin目录下有没有nohup命令
2, download nohup
yum install coreutils
3. Find the downloaded nohup
enter to view the next / usr / bin directory
which nohup
4, the path configuration nohup
vi ~/.bash_profile
在PATH=$PATH:$HOME/bin后面添加:/usr/bin
5, the configuration with immediate effect
source ~/.bash_profile
6, see the nohup version
nohup --version
7, the command help command
nohup -help
8, use the command nohup
nohup 需要后台执行的命令 &