Linux common commands: [optional],< required >,... Can be repeated multiple times, | Multiple select one, {} group
LS (list)
-l:long long format, one file or directory display line
File type: the
-: Normal file
D: Catalog file
B: Block device files (blocks)
C: Character device file (character)
L: Symbolic Link files (symbolic link file)
P: Command pipe file (pipe)
S: Socket file (socket)
File permissions (9-bit, per three-bit group, rwx per group):
Number of hard links to files
File owner
Filegroup (Group)
File size (size), Unit bity
Timestamp (timestamp): Last Modified Time
Access: Access
Modified: Modify
Change: change,metadate (meta data)
-H: Do unit conversions for easy viewing
-A: Displayed with. Hidden files at the beginning
. Represents the current directory
.. Represents the parent directory
-A:
-i:index Node,inode
-R: Reverse Display
-R: Recursive (Recursive) display
Cd:change Directory
Home directories, home directories, home directory
CD ~: Enter the current user's home directory
CD ~ Username: Enter the home directory of the specified user
CD-: Switch between the current directory and the previous directory
Command type:
Built-in command (shell built-in), internal, built-in
External command: There is an executable file corresponding to the command name in a path on the file system
Environment variables: named memory space
Variable assignment:
Name=jerry
Path: Paths separated by colons
Printenv: Print Current user environment variable information
Hash: View executed commands
Type: Shows which type of command is specified (built-in, internal, shell command)
Date: Time management (System clock)
Clock,hwclock: Hardware Clock
Get help with the use of commands:
Internal command:
Help COMMAND
External command:
COMMAND--help
Command Manual (manual) Sub-section: 1: User command, 2: System call, 3: library user, 4: Special file (device file), 5: File Format (configuration file syntax), 6: Game, 7: Miscellaneous (Miscellaneous), 8: Administrative Command (/sbin,/usr/ Sbin,/usr/local/sbin)
Man command, man chapter number command
Whatis COMMAND
Mans:
Name: command names and features brief description
Synopsis: Usage notes, including available options
DESCRIPTION: Detailed description of the command
Options: Description of each option
Bug:bug related
Files: Related files
EXAMPLES: Example
See ALSO: Another reference
Page:
Space: Next Page
B: Previous page
Enter: Next line
K: Previous Line
Find:
/keywork is searching the
N: Next
N: Previous
? keywork Reverse Search
N: Next
N: Previous
Q exit
Hwclock:
-W:
-S:
Cal:calendar
Cal 10 2014
This article is from the "heart of the Force" blog, please be sure to keep this source http://xwzeng.blog.51cto.com/4833379/1560504
Linux common commands ls CD type Whatis date man cal Hwclock