Practice 1 1) Create a sub-directory called in your home directory which is the working directory when you just log in. cd mkdir temp 2) Create a sub-directory called in mkdir ./temp/subtemp 3) Create file ex1.txt in and ex2.txt in cd temp cat > ex1.txt pwd ls ^D cd subtemp cat > ex2.txt Hello ex2! ^D 4) Check file type and file's user access mode for file ex1.txt and ex2.txt cd $HOME $HOME means your home directory which is the working directory when you log in. ls -l ./temp/ex1.txt ls -k ./temp/subtemp/ex2.txt 5) rename ex1.txt as ex1 and move it to $HOME mv $HOME/temp/ex1.txt $HOME/ex1 6) change file pemissions of ex1, add user and group execute permission. chmod ug+x $HOME/ex1 7) copy file ex1 to your home directory cp $HOME/ex1 $HOME/ 8) copy the whole to $HOME/temp1 cp -r $HOME/temp $HOME/temp1 9) remove all files and sub-directories in rm -rf $HOME/temp/* 10) remove rmdir $HOME/temp