CD: Transfer directory
cd/a/b (transfer current directory to/a/b)
Cat: Commands are commands for viewing the contents of the Ubuntu Chinese text file
Cat/etc/shadow View All Users
The cat/proc/cpuinfo is used to view the computer's CPU information.
Cat/proc/meminfo is used to view the internal information of a computer.
Cat/etc/issue View version information for Ubuntu.
Chown: Change the owner of the specified file to the specified user or group
chown [Options] ... Owner [: [Group]] file ...
-R handles all files in the specified directory and its subdirectories
mkdir: Creating a Directory
mkdir xxx (established XXX)
Mkdir-p A/b (set up directory A, sub-directory B)
MV: Move a file or rename a file
MV source file or directory destination file or directory
Source/etc/environment
Tar: Used to store or expand a tar archive file
Tar xvzf xxx.gz (expand xxx.gz)
Tar xvzf xxx.gz-c/a/b/c (expand xxx.gz and place in/a/b/c directory)
wget: Download file
wget [URL] (download part)
Wget-c [URL] (breakpoint continuation)
Wget-i download.txt (bulk download)
RM: Deleting files
Rm-f--force Ignore non-existent files, never give hints
Rm-r--recursive instructs RM to recursively delete all directories and subdirectories listed in the parameters
Find a process based on port 8080
NETSTAT-ANP | grep 8080
Kill 7913 Processes
Kill-9 7913
Transferring files
SCP jdk-7u75-linux-x64.tar.gz [Email protected]:/home/mopon
Implementing a Refresh Log
Tail-f Catalina.out
Connecting to a server
SSH [email protected]-P 2234
Yxtkf43
View the Linux kernel version number
1, Cat/proc/version
2, Uname-a
View Linux Version information
Lsb_release-a
MySQL Installation
sudo apt-get install mysql-client-core-5.5
sudo apt-get install Mysql-server
sudo apt-get install mysql-client
Linux command notes