(1) Switch the graphical interface to the character terminal: Ctrl+shift+alt+f2~f6
Graphical interface opens a terminal command: ctrl+shift+t
ALT + number keys switch at different terminals
ALT+F4 Closing the terminal
ctrl+shift++ Magnification Terminal resolution
Ctrl+-Reduced resolution
(2) LS action: see what files are in the current directory
Ls-l equivalent to LL show details
Ls-a Show hidden files
Ls-h enhances readability,
Ls-d viewing the directory (without viewing the contents)
What does the system different colors represent:
Light Color--link, dark color--Directory, yellow--device file, red--compressed file, green-executable file, black--file.
(3) PWD View your current directory
(4) CD switch directory
cd~, CD back to the user's home directory CD-Go back to the previous directory
(5) View hardware time (BIOS time: Hwclock View system time: Date Griniz Observatory and date 8 hours
Modified: date-s 2017-9-12;d ate-s 22:00
(6) Display time format: Date +%f & date +%y-%m-%d & Date ' +%y-%m-%d%h:%m '
(7) View Help information plus parameter-H or--help
Help ~ View Internal command Assistance information
~help viewing external command Help information
The difference: The internal command is actually part of the shell program, resides in memory, the external command is a utility part of the Linux system, it is called memory when needed, not included in the shell
You can use the type command to distinguish internal commands from external commands
(8) Shutdown command: Shutdown-h + time, init0, halt
Restart command: Shutdown-r + time, INIT6, reboot. Cancel Shutdown-c or CTRL + C
(9) Init
0 shutdown mode, 1 single user mode, 2 multi-user mode, 3 text mode, 4 system not used, battery utility after operation, 5 graphics mode, 6 restart mode
3. Basic commands