Linux basic common commands

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/q15102780705/article/details/102712111

Lists the files: ls -a -l [parameters]

Create a directory and remove directory: mkdir rmdir

After a few lines display the file: tail

Package: tar -xvf

Packing and compression: tar -zcvf

Search string: grep

Displays the current directory: pwd

Create an empty file: touch

Editor: vim vi

Lists the files: ls -a -l [parameters]

Create a directory and remove directory: mkdir rmdir

After a few lines display the file: tail

Package: tar -xvf

Packing and compression: tar -zcvf

Search string: grep

Displays the current directory: pwd

Create an empty file: touch

Editor: vim vi

View Log: tail -f xx.log

View the process id: ps -ef | grep tomcat

In accordance with the process id shutdown process: kill -9 123456

Guess you like

Origin blog.csdn.net/q15102780705/article/details/102712111