Linux Command Beginner Level

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.