CentOS Learning One

Source: Internet
Author: User

Install CentOS in the virtual machine, enter the system, if it is the system interface, press ATRL+ALT+F2 to switch to command mode,

After logging in, you can start learning Linux commands.

ls command: Run it is to list the contents of the folder, it may be a file or a folder

LS-L command: Lists the contents of the folder in verbose mode, showing the content format as follows:

Drwxr-xr-x 2 RONGSW Ground 6 Mar 08:46 Rong

D: The first bit represents the file type, D is the directory file, L is the link file,-is the normal file, p is the pipeline

RWX: 第2-4位 represents the owner-owned permission for this file. R is read, W is write, X is execute

R-x: 第5-7位 indicates that this file is owned by a user of the same group as the owner

R-x: 第8-10位 represents the permissions that other users have

The above example shows: Rong is a directory file, RONGSW has read and write permissions, and RONGSW the same ground group of users have read, execute permissions, other users have read, execute permissions. Note that: 6 indicates a file size of 6 bytes, and 11 08:46 indicates the last modified time.

The history command: It shows the histories of all commands executed in Linux.

mkdir command: Creates a new directory under the named path, returns an error message if the directory already exists, and does not display any information successfully

CentOS Learning One

Related Article

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.