Cú pháp: ls [tùy_chọn]
Ví dụ:
ls
ls -l
ls -a
Giải thích: Hiển thị danh sách file trong thư mục hiện tại.
Cú pháp: cd <đường_dẫn>
cd /home/user/Documents
cd ..
cd ~
..: thư mục cha
~: thư mục home
pwd
mkdir newdir
mkdir -p a/b/c
rmdir olddir
rm file.txt
rm -r folder/
rm -rf folder/
-rf xóa mạnh, không hỏi lại.
touch file.txt
echo "Hello"
echo "Hello" > file.txt
cat file.txt
cp file1.txt file2.txt
cp -r folder1 folder2
mv file1.txt file2.txt
mv file.txt /home/user/
clear
exit
man ls
info ls
--help – Hướng dẫn nhanh
ls --help
whatis ls
apropos list
» Tin mới nhất:
» Các tin khác: