Haven't written a blog for a long time, the fencing casually write something directly into the theme bar!!! Basic Linux Knowledge
/home,/HOME/XXX, ~
/etc
/root
/bin,/usr/bin,/usr/local/bin
/usr/local
Basic commands
ls
List files in the current directory
pwd
Show Current Path
cd
go to a directory
cp
Copy Files
mv
Moving files
find
Search for files
touch
to modify the timestamp of a file
mkdir
Create a folder
rm
Delete a folder
ps
Show the status of the program
kill
Kill certain processes
top
show the programs in management execution
history
Historical records
Shell, Ksh, zsh, bash
Pipeline |, background run &, serial run &&, Xargs
Redirect, 0 Basic input, 1 basic output, 2 basic error, > write from scratch, >> append write, 2>&1 merge error and output,/dev/null discard output
Text processing grep, awk, sed
Remote connection SSH, remote file SCP
Permissions executable 1, writable 2, readable 4, sudo, su
Text edit VI, sublime text
environment variable/etc/profile, ~/.bash_profile, Source command
Send Welfare
ctr+d
Send an empty command
ctr+c
End Program
ctr+a
beginning of ctr+e
line, end of row
man –help
Help
alias
aliases
-
Last Directory
Git basic commands why it's useless to use git to explain too much, if you really love programming, just follow the trend.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Welcome to the Csdn-markdown Editor