Touch File # Create a blank file rm-RF Directory Name # does not prompt to delete a non-empty directory (-r: Recursive Delete-f Force) Dos2unix # Windows text to Linux text Unix2dos # Linux text to Windows text eNCA filename # View coded install Yum Install-y eNCA md5sum # View MD5 Value ln source file destination File # Hard Link ln-s source file destination file # Symbolic connection Readlink-F/Data # View connection Real directory cat file| NL |Less # View page up and down and show line number Q exit Head # View the beginning of the file head-C 10m # intercept file in 10M content split-C 10M # cut the file size to 10M tail-F File # to view the end of the monitor log files file # Check file type Umask # change the default permissions Uniq # delete duplicate rows Uniq-C # Number of repeated rows occurrences Uniq-U # Show only non-repeating lines paste a B # merge two files with TAB key to separate paste-D'+'A B # merges two files into a specified'+'symbol separated paste-s A # merge multiple rows of data into one line tab to separate Chattr+i/etc/passwd # Set immutable bit more # down the facet locate string # Search WC-L File # View rows CP Filename{,.bak} # Quick backup of a file \cp a B # Copy does not prompt neither alias CP-I rev # arranges the characters in the line in reverse order Comm- A 2 3# row and row comparison match Iconv-F gbk-t UTF8. txt >new. txt # conversion Encoding Rename original mode target mode file # rename regular watch-d-n1 'DF; Ls-flat/path'# See the latest changed files in a directory in real time CP-v/dev/dvd/rhel4.6. iso9660 # Making image diff Suzu.c suzu2.c>Sz.patch # Making patch patches SUZU.C< Sz.patch # installation Patches
Linux-File operations