Linux Basic Instructions

Source: Internet
Author: User

Cd.. /Top level Directory

ls All files in the current directory

ll all the files in the current directory for more information

command format [options] [parameters]

CD (command): (This is the parameter)

mkdir created file name; Common folder, directory

Touch file to create a file

Recursive creation of *********************

mkdir First/second

Create a first file with a "second" file in the first "folder"

****************************************

File type: the
Linux is not distinguished by a suffix

D begins with a directory

-Start with a visual file

L Shortcuts (soft connections)

Every three characters after D represents a permission,

RWX r-x R-x

R readable

W Writable

X executable

(highest privilege)

RWX Owner's permissions

R-x permissions (roles) of the owning group

R-x the rest.

expressed in numbers.

RM Delete Directory

RM-RF Force Delete

Copy:

Copy text to Hua

Shear:

Cut text to Hua

********************

VI CCC

Create a CCC and edit it

Edit page input i for editing

Edit Complete

Press esc-input:-qw Save and exit (Q exit does not save)

Input VI CCC (CAT CCC) view

shutdown-shut down the machine.

Linux Basic Instructions

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.