Class02 Lab Answer:

Answers

This is easy.


mkdir -p       ~/myetc/
cp /etc/passwd ~/myetc/passwd
cp /etc/group  ~/myetc/
rsync -av /etc/init.d ~/myetc/
ls -la    ~/myetc/
ls -la    ~/myetc/
ls -lat   ~/myetc/init.d
ls -laS   ~/myetc/init.d
chmod g-r ~/myetc/init.d
chmod o-r ~/myetc/passwd
chmod o+w ~/myetc/group 
rm -f     ~/myetc/init.d/README
mv ~/myetc/init.d/reboot ~/myetc/init.d/reboot.bak
du -sh  ~/myetc/
df -h   ~/myetc/

Class02 Linux Lab (Folders, Files, Disk)


ml4.us About Blog Contact Class01 Class02 Class03 Class04 Class05 Class06 Class07 Class08 Class09 Class10 dan101 Forum Google Hangout Vboxen