You can use this command to view the basic data of a file, such as an ASCII, data file, or binary file. Usage: & nbs
View the basic data of a file. for example, it is ASCII.This command can be used for data files, binary files, and whether or not information such as the dynamic correspondence library is used.
Usage:
[Kin @ kin ~] $ FileFilename
Example:
[Kin @ kin ~] $ File ~ /. Bashrc
/Home/kin/. bashrc: ASCII text
# The displayed information indicates that this is an ascii plain text file.
[Kin @ kin ~] $ File/usr/bin/passwd
/Usr/bin/passwd: setuid ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV)
, For GNU/Linux 2.6.9, dynamically linked (uses shared libs), stripped
# The execution file contains a large amount of data. The suid permission for this file is compatible with intel's 80386-level hardware platform # linux core 2.6.9 dynamic function library links are used ·
[Kin @ kin ~] $ File/var/lib/mlocate. db
/Var/lib/mlocate. db: data
# This is a data file
--------- Laruence's private dish 187