In the Linux system operation process, files without extensions are difficult to identify, we can use the command to identify the file type, the following small series will introduce you how to use the file command To identify the file type.
We know that Linux file system is one of the basic functions of the Linux kernel supported by the root /cascade structure began to form an inverted tree down. Files and directories are the two basic elements of the Linux file system. (Generalized) files are divided into ordinary files, directory files, connection files, and special files. The file command can be used to identify various file types.
The extension of the file for Linux is not as strict as that required by Windows. Therefore, in the process of using Linux, there are often some files that have no extension at all. How should we judge the extension without extension? File, is it a file or a directory? In fact, we can use file to check the type of file, the example is as follows:
[root@localhost ~]# file install.log
install.log: UTF-8 Unicode text
install.log as a text file
[root@localhost ~]# file /usr/local/
/usr/local/: directory
/usr/local For the directory
The above is the method of using the file command to identify the file type under Linux. For files without extension, you can easily identify it by using this command. Try it out quickly.
Simple understanding of the Linux find command is not enough, we also need to know how to use it, th
Linux history command is used to view the used commands, often used in Linux system operations, is a
In the CentOS system, yum can help users install packages in batches without having
In the copying of Linux files, the copying speed is very slow when there are many files. So, is ther
How to use valgrind to check memory in Linux system
Linux system vim how to install vundle component
How to configure yum source in CentOS system
Linux SecureCRT Chinese garbled how to do?
Ubuntu notebook to increase heat dissipation through Bumblebee
How Linux system analyzes Cache in memory
Linux error when reporting a scheduled task -bash:crontab:command?
Linux method for building pipe pipeline functions
What should I do if Ncurses shows Chinese garbled under Linux?
How can I handle the fdisk command in RedHat system without using all partitions?
Steps to install Brackets on Ubuntu
Linux how to use ControlPersist to speed up SSH connection speed
Eight energy-saving methods in the data center Green and more economical
Master teaches you to easily create a new folder
Win10 system using Win8 system command prompt setting method graphic tutorial
How to repair the hard disk is broken How to repair the hard disk bad track
Win 8 operating system application tips five
How Windows XP will limit the use of optical drives by ordinary users
What should I do if the Win7 system cannot open the event viewer?
Win10 how to close the family group service win10 off the family group service graphic tutorial