3320HW1-1 - 5 rename ex1 as ex1 and move it to $HOME 5 mv...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Hendrickson H Homework 1 H 1) Create a sub-directory called <temp> in your home directory which is the working directory when you just log in. mkdir temp m 2) Create a sub-directory called <subtemp> in <temp> 2 mkdir subtemp temp m 3) Create file ex1.txt in <temp> and ex2.txt in <subtemp> 3 cat > ex1.txt temp cat > ex2.txt subtemp 4) Check file type and file's user access mode for file ex1.txt and ex2.txt 4 ls Kdlf ex1.txt ex2.txt
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 5) rename ex1.txt as ex1 and move it to $HOME 5 mv ex1.txt ex1 mv ex1 $HOME m 6) change file pemissions of ex1, add user and group execute permission. 6 chmod ug+x ex1 c 7) copy file ex1 to your home directory cp ex1 $HOME c 8) copy the whole <temp> to $HOME/temp1 8 cp temp $HOME/temp1 c 9) remove all files and sub-directories in <temp> 9 rm &r temp r 10) remove <temp> rmdir temp...
View Full Document

This note was uploaded on 09/23/2010 for the course SOC 1101 taught by Professor Name during the Spring '10 term at Abraham Baldwin Agricultural College.

Ask a homework question - tutors are online