Linux Command Beginner Level
http://ke.qq.com/video/index.html?course_id=6815
Ls
-A All Files
-L
Type, number of connections, owning user, workgroup, size, modification time, file name
-Normal file
Catalog D
L Symbolic Link
Green Executable
Red
Blue Directory
White file
Files beginning with '. ' are hidden files or directories
CTRL + SHIFT + T new shell
PWD Current Path
Ctrl+u Clear Line
Ctrl+l Clear Screen
CD ~ Back to User directory
CD-Back to last directory
CD Back to User directory
mkdir Creating a Directory
-P Multilevel Directory
RmDir Delete Empty Directory
Touch creates an empty file
RM Delete File
-RF forcibly deleting a non-empty directory
CP Copy
MV Move
MV Rename
Cat Print File contents
Ed text editing
Nano Text Editor
TAC Reverse Print File contents
Head Start 10 lines
Tail last 10 lines
More split screen printing file
Less Split screen print file
CTRL + F next page
CTRL + P PAGE UP
SHIFT + PAGE UP on page up
SHIFT + PAGE DOWN page
Tar
CVF Packaging
XVF Unpacking
TVF List
-C Specify directory (default current directory)
ZCVF Compressed GZ file
ZXVF Extracting GZ files
JCVF compressing bz2 files
JXVF Extracting bz2 files
Gzip
Gunzip
Bzip2
Bunzip2
which
To view the location of a command
Whereis
Locates Source/binary and manuals
Locate
Find Files
Quickly find files based on a database
Database can be updated with UpdateDB
Find
Find files in the corresponding directory
-name file name
Debain
sudo dpkg-i *.deb
Reahat
FC. RPM RPM PI
sudo apt-get Install
-Y
Aptitude
Show View software status
Search Lookup Server
Install installation
-Y agree to all
Remove Uninstall
Update Source.list
History
View Operation History
ln hard Links
-S Soft link
Soft Links: Symbolic link shortcuts
Hard Links:
Http://i.youku.com/u/UNjExNzgwNjA4/videos
Wc
Statistics number of rows singular bytes
-L Number of rows
Col
Filter control characters
Grep
Row matching
Cut
-D split Symbol
-F Display Column
Sort
Sort
Uniq
The de-weight of ordered sequences
Tr
Character substitution
Sed
1d Delete line 1th
1,4 Delete 1 to 4 rows
Http://i.youku.com/u/UMTYwMjcwNjQyOA==/videos
Linux Command Beginner Level