man pwd
pwd
man cd
cd ../
cd
pwd
cd //Users/pellok/github/pellok/linux_command/jupyter
mkdir linux_command
ls -al
cd //Users/pellok/github/pellok/linux_command/jupyter
mkdir -p linux_command/1/2/3
ls -al
cd linux_command
ls -al
cd 1
ls -al
rmdir linux_command
ls -al
cd //Users/pellok/github/pellok/linux_command/jupyter
rmdir -p linux_command
ls -al
touch filename
ls -al
rm filename
ls -al
touch test
ls -al
rm -f test
ls -al
mkdir -p folder/1/2/3/4/5
ls -al
rm -r folder
ls -al
mkdir folder
touch folder/file
ls -al
rm -rf folder
ls -al
touch file
cp file file2
ls -al
mkdir folder
cp -r folder folder2
ls -al
ln -s folder3 folder
ls -al
相近指令:more、less
echo "1234" > text.txt
cat text.txt
echo "5678" >> text.txt
head text.txt
head -n 1 text.txt
echo "90123" >> text.txt
tail -n 1 text.txt
tail -2f text.txt