Shell command interpreterSee which shells are in the current system
View the Shellecho that the current system is using $SHELL
Bash Utility CommandsCTRL + A//The beginning of the commandCtrl+e//The end of the command
Ctrl+p//previous command CTRL + N//After a command
Ctrl+b//Cursor moves forwardCtrl+f//cursor moves backwards
Crtl+u//Delete entire command, can cooperate with Ctrl+e
rwx PermissionsFile:r: have read access to the file
W: There is no write permission to the file
x: There is no execute permission on the file
Directory:r: can I view the files for this directory ?
W: can not delete the directory files, can not rename the directory of the file
x: can you get in this directory ?
whichWhich LS view command in which directory
LNLn-s file name Soft connection Name-----> Similar shortcut ln filename hard connection name-------> php-like reference, you change me too
chown change the owner of a file
ChownRoot:rootThe file name is preceded by a user, followed by a group
finding FindFind ./* -name "hello.c"//default recursive lookup
To find the suffix from the root directory is. c files
Retrieving content grepgrep "Content"./*grep "Hello"./*-R //Current directory recursively finds lines that contain a Hello word
Deb Package Installation
Dkpg - I. Name installationDkpg - R nameUninstall
Source Package Installation1. Unpacking tar2. CD./3. ./configure4. Make5. Make Install
Networking ApproachNAT does not have a network segment, but when Ping goes out, it is a bridge that goes out of the way of the hosttwo different IPs, same network segment
Problem with your own virtual machine? So NAT can go out to the Internet and the bridge is not available. Because Nat borrowed the NIC driver for Windows
From for notes (Wiz)
8.15 Linux basic Command Software Installation