1.LS-A lists all files in the current directory, including hidden files with a. Header (such as ~/.BASHRC)
Ls–l list the files in the current directory for more information
2. PWD View the absolute path of the current directory
3. Move between CD directories
4. mkdir directory name to create a directory
5. rm file name Delete a file
6. cat file name view file contents (fullscreen view)
7.more filename View file contents (can move left and right)
8. Less filename View file contents (can move up or down)
9.MV path file name to move files to the path
MV filename filename Rename
grep character file name to view part of a file based on character matching
Find Road via-name "string" finds paths in the range of files and directories that meet string matches
12.ln source File Link name create a hard link to a source file
Ln-s source File Link name Create a soft link to a source file
13.touch File name creation files
14.DF displays the total capacity of the filesystem, the amount of usage, the amount remaining
15.du-b/Home View current/home directory capacity (k) and subdirectory capacity (k)
Fdisk-l View System Partition information
MOUNT-T file system type device path via access path
18.CHMOD * * * file name changed to read Execute permission
19.diff FileName File name comparison file
20.top dynamic Ps–aux Static Pstree process tree view system process
21. Program Name & background Running program
FG back the process running in the background to the foreground
BG puts the foreground running process into the background
Halt Init 0 shutdown–h now shutdown system
Reboot init 6 Restart system
init [0123456] Change system operation level, 7 kinds
At 5pm + 3 Days/bin/ls Specify three days after 5:00 execution/bin/ls
Crontab Recurring Task commands (detailed study recommended)
27.date command to display dates
28.cal commands for displaying calendars
29.BC a good simple calculator
30.man Command Query command Help
31.which viewing the location of executable files
32.whereis View the location of the archive
33.locate Matching database View archive location
34.gzip bzip2 compress compression, decompression command
35.VI file name edit files with VI
36.alias Command alias setting directive Unalias release Alias
37.tar Package Unpacking Instructions
38.head display the first few lines of a file tail the following lines of the file
39.| Plumbing > Redirection
40.od read the contents of the file in binary form
41.SU Login Super Admin sudo execute command as Administrator
42.tar Package Installation Instructions
./configure–prefix=/usr/local Pre-compilation configuration
Make compilation
Make install installs the compiled source package
43.rpm– parameter RPM installation query remove upgrade and so on
44.ifconfig Network Configuration commands
Ping the target host
Netstat display of listening ports and processes
45.clear Clear Screen
46.useradd Plus Users
47.PASSWD Change Password
48.CHGRP Chown User group owner to modify files
49.DD Instructions for backup
DD if= "Input-file" of= "Output-file"
50.sh script File Execution script file
50 basic commands for Linux