Menu

(Solved) : 1 Create Directory Called Dir1 Home Directory 2 Change Dir1 Print Path Current Directory 3 Q36642454 . . .

Linux, Ubuntu command line:

1. create a directory called dir1 off your home directory 2. change to dir1 and print out the path of the current directory 3

1. create a directory called dir1 off your home directory 2. change to dir1 and print out the path of the current directory 3. create another directory inside directory dir1 called dir2 4. create a zero-length/empty file called boo in dir:2 5. rename the file boo to wibble 6. create empty files a.txt, b.txt and c.txt in dir1 7. archive and zip all .txt files in dir1 into one tarball (hint: use tar commands with correct options) 8. remove the directory dir1 and its contents with one command 9. download the file MyTest.java from Resources/UNIX-test 10.compile MyTest.java using javac on the command line 11.write a short (2 line) Makefile so you can compile the above program 12.use Make to compile the program using vour Makefile 13.add a rule to the above Makefile to remove the program’s class files 14.demonstrate vour removal rule. Show transcribed image text

Expert Answer


Answer to 1 Create Directory Called Dir1 Home Directory 2 Change Dir1 Print Path Current Directory 3 Q36642454 . . .

OR