centos 7 command

centos 7 after setup
yum install update
yum install upgrade

How to copy file
cp /folder/source/ /folder/Destination
example.. cp -avr /home/kali/letters /usb/backup

  • -a : Preserve the specified attributes such as directory an file mode, ownership, timestamps, if possible additional attributes: context, links, xattr, all.
  • -v : Explain what is being done.
  • -r : Copy directories recursively.

How to delete file and folder
rm file.exp
rm -rf folder                             //don't  have slash "/"

cd /folder/


cd /
cd..

Central oF Thai Home : KAIIBAAN.COM

ความคิดเห็น

บทความที่ได้รับความนิยม