Basic use of Ubuntu Linux environment
Open a terminal
Ctr+alt+t
Close a terminal
ALT+F4 exit
Shell: single-word-meaning shell, computer-semantic command interpreter.
Shell prompt
#: Typically you are superuser, root
$: Generally you are a regular user
Clear Screen
Clear shortcut key Ctr+l
See which files are in the current directory
Ls
View current directory
Pwd
Auto-completion paths and commands
TAB key
Go to Catalog
CD directory path (absolute path, relative path)
Create a Directory
mkdir Directory Name
RmDir Delete Empty Directory
Rm-r Delete a non-empty directory
RM Deletes a file
Home command
Cd
Root directory explanation
/called root directory
Switch to character console
ctr+alt+shift+ (F1-F6)
Switch back to the graphical interface
Alt+f7
Flip the screen under the command line
Shift+pgup
Shift+pgdn
Process Management Commands
View process Information
PS aux
Kill-9 Process Number
Kill-sigkill Process Number
Terminates the foreground process inside the current shell
Ctr+c
Find files by file name
Find path-name "file name"
Find files based on file contents
grep "Content" path-r (meaning of recursive lookup)
tar.gz Packaging commands
Tar zcvf test.tar.gz Test
tar.gz Unpacking Command
Tar zxvf test.tar.gz
Tar zxvf test.tar.gz-c specified directory
Tar pack command
Tar cvf Test.tar Test
Tar unpack command
Tar xvf Test.tar
Tar xvf test.tar-c specified directory
BZ2 Package Packing Command
Tar jcvf test.bz2 Test
BZ2 Package Unpacking Command
Tar jxvf test.bz2
Tar jxvf test.bz2-c specified directory
Basic use of Ubuntu Linux environment