Linux learning Summary

Source: Internet
Author: User
Tags clear screen
Linux-general Linux technology-Linux technology and application information. For more information, see the following section. File Attributes

The files in the bin directory are some command files in the operating system.

Boot stores required files during system startup.

Dev Device File

Etc stores some configuration files similar to the control panel in WINDOWS

Home user directory

Library files of the lib Function

Lost + found files rarely used at ordinary times. When a large error occurs in the system, a log is saved in it. You can observe the log analysis after the system error.

Misc, some junk files, etc. User authorized access to the file directory

The drive and drive files of the mnt drive and the LINUX system are mounted to the default Mount directory of the mnt system in the form of directories.

The opt administrator installs the default directories of some third-party software.

Proc system kernel and execution program, Virtual File System Directory

Root User's group directory

Sbin stores the superuser command directory

Tmp temporary file directory

Usr stores some programs and commands

Some temporary directories during var linux execution


Common commands of the system

Ls-l view specific file attributes

Ls is used to list files in the directory. It is the same as dir in WINDOWS, but dir can also be used in linux.

Ls-a displays all files in this directory (including hidden files)

Ls-R all directories and files under this folder

Cd switch directory

Clear screen in WINDOWS is cls

Pwd displays the absolute path of the current directory

Create a directory using mkdir

Rmdir Delete directory

The music video moves the Directory and can be renamed.

Cp copy directory

More, cat read a file

Vi editing files

Chomd Modify file permissions 777

Chown chgrp modify user and host information

File display file type
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.