当前位置:网站首页>The nohup command uses
The nohup command uses
2022-06-12 15:43:00 【Are you unemployed after graduation】
nohup Command to use
function jar package Run for a long time and save the log to spring.log
nohup java -jar spring.jar >temp.log &
Error message nohup: Ignore input redirection error to standard output
Modify the command to :
nohup java -jar spring.jar >temp.log 2>&1 &
explain : I / O redirection
Definition : In order to process data more efficiently , You need to put multiple Linux Commands are properly combined , Make them work together , Do that , You must understand the principle of command input redirection and output redirection .
Input redirection : It means importing a file into a command ;
Output redirection : It refers to writing the data information originally to be output to the screen into the specified file . It is also divided into standard output redirection and error output redirection .
The following table shows the symbols used in output redirection and their functions
command > file Redirect standard output to a file ( Empty the data of the original file )
command >> file Redirect standard output to a file ( Append to the original content )
command 2> file Redirect error output to a file ( Empty the data of the original file )
command 2>> file Redirect error output to a file ( Append to the original content )
&> or 2>&1 Writes both standard and error output to a file
边栏推荐
- Introduction to resttemplate
- Qiming cloud sharing | demonstrate the switch through an example of the matter protocol to control the light on and off through the matter protocol
- Idea Encyclopedia (Reprinted)
- Introduction to Eureka
- File uploading and downloading in SSM
- redis String类型常见命令
- Classification of annotations
- POSTMAN-REST Client插件的应用
- The difference between TCP and UDP, the three handshakes of TCP and the four waves of TCP
- TF learning notes in ROS
猜你喜欢

Task output: dense snow ice city theme song 0612

Understanding of Odom coordinate system

RARP summary (tcp/ip explanation volume 1/2)

Microservice fault tolerance

远程操控其它电脑--详细教程
![[jvm learning] types of GC and allocation process of objects on JVM heap](/img/f3/8141be7bcbf79d9c874f9cc09683c8.jpg)
[jvm learning] types of GC and allocation process of objects on JVM heap

Getting started with JMeter

IMU learning records

Deepin20.6 rtx3080 installer le lecteur de carte graphique 510.60.02, cuda 11.6, pytorch1.11

ROS beginners write the server that the little turtle rotates a certain angle at a certain speed
随机推荐
TCP与UDP的区别,以及TCP的三次握手和TCP的四次挥手
ssm中的文件上传和下载
TF learning notes in ROS
The process of generating strong association rules from frequent itemsets
如何使用Grafana轻松实现OVL数据可视化
Pta: self test -2 prime pair conjecture (20 points)
Two ways of array simulating queue
Conversion between sparse array and array and file reading and writing
Remote control of other computers -- detailed tutorial
Singleton mode instance
Module yaml error: Unexpected key in data: static_ context [line 9 col 3]
Use of boost:: bind() in ROS
Raccourci vers le nouvel environnement du carnet de notes Jupiter
How to write year-end summary
Summary of advantages and disadvantages of various architectures
ARM 64指令小记
MySQL development considerations (Alibaba development manual)
File uploading and downloading in SSM
远程操控其它电脑--详细教程
FIRSTVT and LASTVT vernacular