linux basic theory ①

Preface: this blog is about some knowledge about the theory of linux

We talk about the meaning of a format of ls -l linux linux in general command under the File command details of each of these symbols are as follows

Command general format:

#command (command) options ... (option) arguments ... (parameters)
command : command is a Linux system management
options (options have long options and short options):
Short Option (short options can be combined): -a (ls -l -a = ls -la)
length options (length option is not available in combination): - help
parameters : effect of the command object called parameters

Example:
#ls the -l
-rw ------- 1 root root 1679 Jun 12 2012 Anaconda-ks.cfg
- (file type) rw ------- (file permissions) 1 (hard link file number ) owner root (file) root (genus group file) 1679 (file size) Jun 12 2012 (timestamp) anaconda-ks.cfg (file name)
file type:
-: normal file (F)
D: catalog file
B: block device file (block)
C: character device file (character)
L: symbolic link file (link symbolic FICE),
P: a command file conduit (pipe)
S: file socket (socket)
file permissions: 9, each set of three groups, each group: rwx (read, write, execute)
the number of hard links to the file
the file owner (owner)
is a group of files (group)
file size (size), in bytes
timestamp ( timestamp): will record three timestamp:
last modified time to
time was last accessed
time it was changed the last time
access: access
to modify: modify
change: change, metadata, meta data (attributes)
Here Insert Picture Description

Guess you like

Origin blog.csdn.net/fanyanluohua/article/details/92584476