Linux Basic Learning -9.2-file types

Source: Internet
Author: User
I. Classification of documents

F File Common Files

D Directory Directories

L symlink softlink Symbolic link/soft Connect

1, f File Ordinary files

1). binary Files-commands

2). data file-data-can only be viewed by the specified command

3). text file

[Email protected] ~]# ls-l/etc/hosts/bin/gawk/tmp/etc.tar.gz

-rwxr-xr-x. 1 root root 382752 2015/bin/gawk

-rw-r--r--. 2 root root 194 Oct 10:14/etc/hosts

-rw-r--r--1 root root 9735040 Nov 02:49/tmp/etc.tar.gz

2. View File types

Ls-l file name

Extension: small tail of file

. txt

. log

. conf

. SH Script

Windows extension: Used to differentiate between different file types for "system". Extensions under Linux: used to differentiate different file types for "human". Exercises:

Types of files in Linux and how to view them

Linux Basic Learning -9.2-file types

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.