Linux related Instructions 1, find file search function
Find [directory list] [match parameter] [match standard]
-name: Search by file name
-group: Search by group to which the file belongs
-user: Search by file Owner
Example 1: Searching with-name as search criteria
Example 2: Searching with-group as search criteria
Example 3: Searching with-user as search criteria
2, DF Disk-related instructions
DF: View disk information
-l:locate abbreviations, viewing local disk information
-H: Displays disk space in 1024 binary
-H: Displays disk space in 1000 binary
-T: Display disk Format
-T: Displays the partition in the specified format
-X: Displays partitions other than the specified format partition
3. Document statistics related directives
Du: Statistics file or folder size
-B: Display file size in bytes
-K: Display file size in kilobytes
-M: Display file size in megabytes
-H: Displays the file size in 1024 binary
-H: Displays the file size in 1000 binary
-S: Statistics folder size
4. Mount the disk
- Mount: Mount the disk (attach a disk to the specified directory)
- Umount: Unmount disk
- Eject: Eject optical drive
Example 1:eject Eject optical drive
Example 2: Uninstalling the optical drive using the UMOUNT directive
Example 3: Mount the system to the/mnt/cddisk folder using the Mount command
Expansion case: How to mount a USB flash drive
① use DF command to view the USB stick device directory, generally/DEV/SDB1
② Create a directory, create a Udisk folder in the/mnt directory
③ using the Mount command to mount the U-disk to the/mnt/udisk folder
MOUNT/DEV/SDB1???? /mnt/udisk
Linux-related directives