Linux study notes, linux's strongest Study Notes
[Personal summary-irregular updates] common instructions: 1. check the network connection: netstat-natp2. check the process: ps-ef3. check whether a software is installed (centOS6.5). For example, check whether gcc has been installed with other commands: rpm-qa gcc: 1. view the file size in this directory ls-l | awk 'in in {size = 0 ;}{ size = size + $5 ;}end {print "[END] size is ", size/1024/1024, "M"} '2. accept file lftp ftp via ftp: // syxx_update: d % 3 FQlZ % 5BuO % 28X % 2F4Y % 26@192.168.1.151/lkzsf/20013002/-e "get success _ 20150527_202750.tgz; quit "3. find all the files in a folder that contain a certain string: current folder: grep" String ". /* find. /likan/-name "* 1" | xargs grep-I "string" other problem summary: 1. funny ratio error: Once a program is written in vim, the screen does not respond from time to time, as if the xshell is disconnected from the host. The real reason is that the good habit of ctrl + s is developed by programming in the window to prevent ide from accidentally closing and the file is not saved, in linux, ctrl + s is the screen lock shortcut, so we can see the above phenomenon. Solution: press ctrl + q to unlock the screen;