System Basic Operations Management - Directory
Previous: Linux-Beginner Series——Part 5_Getting help on the operation interface
From the previous articles we learned system related commands
1. Introduction to the system command interface
Realized batch, automatic management, intelligent and visual management
command prompt
#administrator
$ normal user
component:
- Login host user information
- command prompt split symbol
- Manage hostname information
- The path where the management host is located
command format
命令 [选项] [操作对象]
Commonly used shortcut keys
Commonly used shortcuts, cursors, cut and paste, management control, command execution.
2. Get help from the operation interface
self-study method
Use the website, official website, help command self-study
Common help commands
man
help-----> divided into built-in commands and external commands
info
3. The system runs related commands
restart shutdown command
shutdown -r/-h
Realize delayed restart/shutdown, immediate restart/shutdown, cancel restart/shutdown.
halt
poweroff
reboot
systemctl
logout exit command
logout
exit
4. System directory related commands
directory hierarchy
tree
Directory switching method:
- Absolute path switching method
- Relative path switching method
show current path
pwd
switch directory path
cd
directory creation
mkdir
directory deletion
rm
directory rename
mv
5. System file related commands
Create a file
touch
check file
ls
View Files
cat
copy files
cp
move cut
mv
Delete Files
rm