You are on page 1of 2

pwd: parent … directory

muc dich: biet minh dang o dau trong


may tinh.

ls: list

muc dich: liet ke cac les trong thu muc

cd: change directory

cu phap: cd ten_duong_dan

muc dich: thay doi duong dan den


mot thu muc nao do…

==> cd thucmuc1/thucmuc2/…

cd ..: lui 1 buoc

cd ../..: lui 2 buoc

cd ../../..: lui 3 buoc

mkdir: make directory

cu phap: mkdir ten_thumuc

much dich: tao ra mot thu muc

fi
rm: remove

rm ten_thumuc

much dich: xoa thu muc

cp: copy

ngu phap: cp diemA/ten_ le diemB/


ten_ le_moi

copy thu muc:

cp -r diemA/thumucA diemB/thucmucB

mục đích: copy thu mục vào thư mục


mới.

mv: move

cu phap: mv -f thumuc_di thumuc_den

muc dich: chuyển thư mục vào 1 thư


mục mới.
fi
fi

You might also like