"One" Linux learning

Source: Internet
Author: User

1. I am still relatively familiar with the directory structure of Windows

In 2.Linux there is no concept of a drive letter, that is, there is no partition, all files are from the root directory "/" start. (You can also interpret the directory structure of Windows as a mistake to start with the root "computer", the following is like C:d: E:---Understand windows is better understanding of the Linux directory structure)

3.linux command:

A.PWD---Print work directory (---to see which directory you are currently working in)

B.CD---Change directory (changing directories)

CD Catalog

CD: Return to the previous level directory

C.LS---list (view files under directory)

Ls-lk (is not the directory to see if a first column is D-start)

(Linux command name--do not enter the end of the Press TAB will be automatically complete)

Ls-a Show hidden files

To create a hidden file, just precede the file name with a dot.

D. Touch (Create File)

E. Cat (view files)

. More (view files)

F. mkdir---Make directory (create directory)

G.cp--copy (copying files)

H.mv--move (moving files)

"One" Linux learning

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.