20160928 old boy LINUX02

Source: Internet
Author: User

Today we're looking at a file type and extension.

D This is the catalog file

-Normal file

L Link File

D Block Device file

C-Character device files

s socket file

P Pipeline File


Related commands

#ls-al|grep "/" Display directory file

#ls-F also displays the catalog file


#ls-al|grep "^a" shows the file with the previous character a

#ls-al|grep "a$" displays a file with the following character a


#find Mans

#find. -type F


#ls-AL/DEV/SDA


Users and user groups

Four files

All in/etc

passwd Shadow Group Gshadow

Using the Interpreter/bin/bash

If you don't let login change Nologin


Hard Soft Links

ln source File New filename

Ln-s source File New filename

Hard links cannot be linked to a directory

Software links can be linked to the directory


Inode node








20160928 old boy LINUX02

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.