Compression command tar -zxvf /usr/local/mysql.tar.gz -C /usr/local/mysql
2 Check service status : # service mysqld status Command
chkconfig --list command to check
Restart mysql service mysql restart
must cd to find the path Enter to find ls ll can not find even.
Modify file name : mv old file name new file name
text search command
Esc input/find text
n next for
example :
[root@localhost ~]# ps -ef | grep ApacheJetspeed
root 18887 18828 0 08:09 pts/0 00:00 :00 grep The
meaning of the ApacheJetspeed field is as follows:
UID PID PPID C STIME TTY TIME CMD
root 18887 18828 0 08:09 pts/0 00:00:00 grep ApacheJetspeed
ps: Display a process
-A Display all programs.
-e This parameter has the same effect as specifying the "A" parameter.
-f Display UID, PPIP, C and STIME fields.
The grep command is to find
the middle | is the pipeline command means that the ps command is executed at the same time as grep
This command means to display the process
UID PID PPID C STIME TTY TIME CMD
find [search scope] [matching conditions]
find / tomcat
Find the file name such as the command: find /usr/local -name redis