find command, linux and windows each file transfer

whereis, locate the Find command

yum install -y mlocate mounted locate command
updatedb

Commonly used shortcut keys:
Ctrl + d exit
ctrl + c to cancel execution command
ctrl + u Delete All forward
ctrl + a pop to the front
ctrl + e Skip to end surface

find command:
find / etc / -name
find / etc / The -type d -name
find / etc / The -type f -name
find command, linux and windows each file transfer
ctime (Change to change the contents of the file), atime (access access time), mtime (modification time such as file permissions after size modification)
find command, linux and windows each file transfer
the Find / etc / the -type f -mtime +1 Find / etc / directory changes one day before ordinary file
find / etc / -type f -mtime -1 Find / etc / directory changes to the next ordinary days file
the Find / etc / -1 -mtime the -type f -name .conf Find / etc / directory within one day and ending with .conf altered the normal file
find / etc / -type f -o -mtime -1 -o - name
.conf find common file / etc / directory or change the time of day or less ordinary file names ending in .conf file
find / -inum 33585698 inode number of the next search / directory for files 33,585,698
find command, linux and windows each file transfer

find command, linux and windows each file transfer
find command, linux and windows each file transfer
find -type f -mmin -10 -exec mv { } {} .bak \;. change the current directory to find the file over 10 minutes and from the named
find ~ / -type f -size -10k -exec ls -lh {} \; find ~ / normal directory file with less than 10K and ls lists
find ~ / -type f -size -10M -exec ls -lh {} \; lookup ~ 10M, less than normal file / directory and list with ls

Convention common file name suffix
.bz2 compressed with bzip2 command-extracting file bzip2 -d filename
.gz compressed files using gzip command gunzip -d filename unpack
.tar package using tar file tar xf filename to unpack
package .rpm RedHat's Manager file
.o object files program
.so dynamic link library file

Linux and windows transfer files
in Xshell, secureCRT
yum -y install lrzsz
sz filename Linux ---> windows
rz windows -> Linux

Guess you like

Origin blog.51cto.com/11017476/2434890