Summary of linux instruction learning~~~
Directory operations:
mkdir $HOME/testFolder (creates a directory)
cd ./testFolder(cd $HOME/testFolder) (switch directory)
cd .. (change to parent directory)
mv $HOME/testFolder /var/tmp/ (moving directory)
rm -rf /var/tmp/testFolder (remove directory)
ls /var/tmp (view the files in the directory)
File operations:
touch ~/testFile (create a new file)
ls ~ (see the newly created testFile file)
cp ~/testFile ~/testNewFile (copy new file)
rm ~/testFile (delete file)
cat ~/.bash_history (a very important command, check the typed commands)
filter, pipe, redirect