Linux everything File

Source: Internet
Author: User
All documents

FHS Standard directory structure
Tree-shaped structure
/bin binary files store commands that ordinary users can use
/sbin only commands that the root user can use
/root Root User's home directory
Parent directory of home directory for a normal user
/dev Device directory in which to store devices files
/etc Store configuration file. conf. cfg. CF
/proc virtual file system holds all processes (PID) and maps the current state of the kernel
Cat/proc/meminfo view memory information, or free
Cat/proc/cpuinfo View CPU information, or LSCPU
/sys Virtual File system
/media Graphics Mount Directory
/misc Mount Related Directory AutoFS
/MNT Manual Mount Directory
/lib 32-bit library file
/LIB64 64-bit library file
/usr default software installation directory/usr/local
/var some frequently changing files Ftp/var/ftp/pub Publishing website personal mailbox log
/OPT third-party software installation directory
/tmp Storing temporary files

File location switch
PWD Displays the current work path (address bar)
CD switch directory (open folder)
CD Switch to home directory
CD/ETC/YUM.REPOS.D//Switch to/ETC/YUM.REPOS.D
CD-//switch to the last switched directory (the Back button on the TV remote)
Cd.. Switch to the parent directory of the current directory

[[Email protected] ~]# CD/
[[Email protected]/]# CD
[Email protected] ~]# cd/etc/yum.repos.d/
[Email protected] yum.repos.d]# CD. /.. Switch to the previous level of the previous level directory

Linux everything File

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.