1.Linux file types are not distinguished by extension
2. Storage devices must be mounted before they can be used
Programs under 3.Windows cannot be installed and run directly on Linux
First, the management of the server pre-configuration
The role of the Linux directory:
/bin/the directory where the system commands are stored, both ordinary and super users can perform
/sbin/
/user/bin/
/user/sbin/
/boot/Startup file Directory
/dev/Hardware Devices
/etc/Configuration File Save location
Server Considerations:
1. Remote server does not allow shutdown, only reboot
2. The service should be turned off when restarting
Ii. Common Commands
Command common format: command "-Options" "Parameters"
1. Directory processing command LS-A//display all files in the current directory
Ls-l//Show details of the files in the current directory
Rights rw--r--r (U owner--g belongs to group--o others) R Read, W write, X Execute
2.mkdir command
Create folder directly: Mkdir/tmp/jiejie//Create Jiejei Directory
If you create a folder under a nonexistent folder: Mkdir-p/jianhua/jiejie//The Jianhua folder is created automatically at this time
3.CD command
You can toggle the current directory: Cd/tmp/jiejie
4.PWD command, display current directory
5.rmdir command, delete empty directory
Rmdir/tmp/jijie
6.CP Copy command
CP-parameters [source file] [destination path]
Parameter-r Copy directory
Parameter-P Save the properties of the copied file
Multiple files can be copied to the target directory at the same time
Renaming files while copying files Cp-r/tmp/jiejie/root/jiahua
7.MV Cut and rename
MV-parameters [source file] [destination path]
8.RM Delete
RM-parameters [FileName]
-F Force Delete
-R Delete Directory
It is best to back up the files before deleting
Clear screen Operation Ctrl+l
Linux Learning Note 01