Little White Linux Sixth day

Source: Internet
Author: User

1. System directory

LS is the abbreviation of the list, LS LS/As long as the list of system directories and file commands and its function;

[[email protected] ~]# LS/

bin Dev Home lib64 mnt proc run SRV tmp var boot etc Lib media opt root sbin sys USr root contains these ;

[[email protected] ~]# Ls/root/.ssh/authorized_keys //in root directory

[[email protected] ~]# ls/home/ //In the ordinary user

[email protected] ~]# Yun install-??? //Run this command is used to install the missing command

2.ls command

[[email protected] ~]# ls-i Anaconda-ks.cfg //How many users use Anaconda

33574979 anaconda-ks.cfg

[Email protected] ~]# Ls-la

Total Dosage 28

Dr-xr-x---.   3 root root 147 July 22:03 .  //. represents the current directory

Dr-xr-xr-x. Root root 224 July 23:34 .       //.. Previous directory

[[email protected] ~]# ls-l// /Do not add-D to list all directories

Total dosage 20

lrwxrwxrwx. 1 root root 7 July 04:49 Bin--Usr/bin

Dr-xr-xr-x. 4 root root 4096 July 04:57 boot

.....................

.....................

[[email protected] ~]# LS-DL/ //plus-D only lists the directory itself

Dr-xr-xr-x. $ root root 224 July 15 23:34

-L Details-i-a all-t time-h-d directory C B s L soft connect

3. File types

Ls-l/dev/

lrwxrwxrwx. 1 root root 15 July 19:31 stderr -- /PROC/SELF/FD/2 //Blue callout Soft Connect

lrwxrwxrwx. 1 root root 15 July 19:31 stdin - /proc/self/fd/0

lrwxrwxrwx. 1 root root 15 July 19:31 stdout - /proc/self/fd/1

crw-rw-rw-. 1 root TTY 5, 0 July 19:31 TTY

Crw--w----. 1 root TTY 4, 0 July 19:31 tty0 //Yellow callout is a string

[Email protected] ~]# ls-l/dev/log

SRW-rw-rw-. 1 root root 0 July 19:31 /dev/log//Communication Services TCP/IP

Be familiar with the meaning and meaning of these commands


This article from "I and Linux pass" blog, declined reprint!

Little White Linux Sixth day

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.