Directory operation rm -rf mydir # Delete mydir directory mkdir dirname /*Create directory named dirname */cd mydir /*Enter mydir directory */cd - /* Back to the previous directory */cd .. /* Back to the parent directory with spaces */cd ~ /* back to the root directory */mv tools tool /* rename the tools directory to tool */ln -s tool bac /* to create a symbolic link named bac for the tool directory, most Familiar should be FTP link www to the public_html directory * /cp -a tool /home /vpser /www /* copy all files in the tool directory to the www directory * /
file operation rm go. Tar /* Delete the go.tar file */find mt.cgi /* Find the file named mt.cgi */df –h /* Check the remaining space on the disk, it seems that there is no need, unless you are too much */
Unzip tar xvf wordpress.tar /* Unzip the tar file */tar -tvf myfile.tar /* View the files contained in the tar file */tar cf toole.tar tool /* Tool directory Packaged as toole.tar file */tar cfz vpser.tar.gz tool /* Package and compress the tool directory to vpser.tar.gz file, because the .tar file is almost uncompressed, MT's .tar.gz file Decompression After the .tar file is almost 10MB */tar jcvf /var/bak/www.tar.bz2 /var/www//*Create a .tar.bz2 file with a high compression ratio*/tar xjf www.tar.bz2 /*Unzip Tar.bz2 format */gzip -d ge.tar.gz /* Unzip the .tar.gz file as a .tar file */unzip phpbb.zip /* Unzip the zip file, and compress a .tar.gz file in windows The file is still a little troublesome*/
Download wget http://download.yutian.org/readme.txt/*Download the files on the remote server to your own server, even the upload is saved, the server is not 100M Is 1000M bandwidth, downloading a 2-3 trillion MT is not a few tens of seconds */wget -c http://download.yutian.org/readme.txt /* Continue to download the last undownloaded file* /
Process Management ps -aux /*ps Process Status Query Command */ps Command Output Field Meaning: USER, the process owner's username. PID, process number, can uniquely identify the process. %CPU, the percentage of CPU time and total time taken by the process since the last refresh. %MEM, the percentage of memory used by the process. VSZ, the amount of virtual memory used by the process, in K. RSS, the total amount of physical memory occupied by the process, in K. TTY, the process-related terminal name. STAT, process state, use (R--run or ready to run; S--sleep state; I--idle; Z--freeze; D--stop sleep; W-process has no resident page; T stops or tracks .) These letters are used to indicate. START, the process starts running time. TIME, the total CPU time used by the process. COMMAND, the command line to be executed. Ps -aux
This tutorial gives examples of how to provide messages/dialogs in Bash Shell scripts using tools l
I am a Linux rookie like many people, but it is very interested in this, not toss is not good; I dow
The original use of Tomcat in Linux does not use the newly created user created by the non-ROOT perm
1. Hard disk partition configuration: C drive: Win7 (NTFS format ——
Linux mv command: moving files or directories
Practical tips: What to do when the Linux system "crash"
Basic tutorial on FTP and TFTP service configuration under Linux
Linux system management and maintenance -ls command
Linux command--view file contents
Unix Common Commands Detailed Explanation
How to remove the old kernel of Ubuntu Linux operating system
Linux history (history) command usage detailed
Linux Security: Step by Step Defense (1)
Neighbor subsystem of linux protocol stack (related process 3)
Play UC a camera and simultaneously multiplayer video chat
Win7 uses IE browser must know the skills
How to set up proxy for Windows 7 system?
Uninstalling the "Recovery Console"
Win10 through train drive detection failed
Win7 forced shutdown can not start the solution step
How to set the Windows default command line window size and buffer size
Win10 preview version 10074 bugs which win10 preview version 10074 bug summary