Linux-centos Study notes (Grass pai)

Source: Internet
Author: User

LS List view Directory

View folders under the root directory
[[email protected] ~]# LS/
Bin Boot Dev etc home lib lib64 media mnt opt proc root run sbin SRV sys tmp usr var

/root/Home Directory
/root/.ssh/authorized_keys root User home directory Ssh-keys
[[email protected] ~]# useradd Xuwei Create a normal user Xuwei
[[email protected] ~]# Ls/home/xuwei View the home directory of ordinary user Xuwei;
[[email protected] ~]# ls/etc/ssh/sshd_config All about SSH configuration files under this directory file
• Software to install the tree command Yum install-y tree
[[Email protected] ~]# tree--hep lists general use methods
Tree:invalid argument-' e '.
Usage:tree [-acdfghilnpqrstuvxacdfqnsux] [-H basehref] [-t title] [-L level [-R]]
[-P pattern] [-I pattern] [-o filename] [--version] [--help] [--inodes]
[--device] [--noreport] [--nolinks] [--dirsfirst] [--charset CharSet]
[--filelimit[=]#] [--si] [--timefmt[=]<f>] [<directory List>]
There is also a man tree that is more fully visible than Hep.
[[email protected] ~]# tree-l 2/Display/directory below the Level 2 directory display
Ls/usr/bin | | /usr/sbin/| | /bin | | /sbin/These four directories are commonly used commands
The difference between/bin/and/sbin/:/sbin/is the command that the root user uses,/bin/the command that the ordinary user uses, root can also be the command of the ordinary user
ls/boot/system startup related files

ls/dev/System set-up file

ls/etc/the directory where the system configuration files are located

ls/home/User's home directory file

ls/lib/lib64 System Repository File = = Windows. dll file

The green file is the library file, and the light blue file is a soft link
Ldd/bin/ls See which library files The LS command depends on (LDD command)

Linux-centos Study notes (Grass pai)

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.