A few simple commands related to the catalog:
1.ls
LS is the abbreviation of list, so it is list output of listing directory and file
Common parameters:
-l List Details
-H converts the unit from the default byte to K, M, G
-a lists all files and directories that are hidden
Where. Represents the current directory: Represents the parent directory
-R (reverse) reverse display
-R (recursion) recursive display
-I display inode number
2.pwd (print working direction)
Print current directory
3.CD (Chang directory)
CD ~ Open Home Directory
CD ~username Open the home directory for the specified user
4.mkdir (Make directory)
-P Recursive creation
-V Show More information
5.rmdir (remove directory)
-P Recursive Delete (can only be deleted if the directory is empty)
Two. Several commands concerning the order
1.type + command
View the type of the current command (commands are divided into built-in commands and external commands)
2.help + built-in commands
See Help for built-in commands
3.man + command
See Help for commands
4.whatis + command
View the chapters of the Command in man
Three. Print commands
1.echo
-E escapes certain characters (\n,\t,\b,\r)
-N No Line break
2.print
Direct output, default No line break, can be directly escaped
Four. Several time-related commands (the difference between date,clock,hwclock and contact)
1.date
viewing system time Information
Date +%d Show Month Day year
Date 05192310 changed on May 19 23:10
2.clock
Viewing hardware time
3.hwclock
Viewing the hardware clock (time in CMOS)
-W: Write system time to hardware time
-S: Write hardware time to system time
This article is from the "11005698" blog, please be sure to keep this source http://11015698.blog.51cto.com/11005698/1785024
One of several Linux command series per day