Question: Assignment Description and Questions: 1. Implement the following directory structure by using linux commands (and not the GUI). the code files (C1.java and C2.java) are

 Assignment Description and Questions: 1. Implement the following directory structure by

Assignment Description and Questions: 1. Implement the following directory structure by using linux commands (and not the GUI). the code files (C1.java and C2.java) are available on Moodle. Just downloaded them from there to the specified directory directly. Show all the commands you used in the report. home YourName replace this directory name with your own first name Docs Code Java General C1.java C2.java 2. In the Docs directory, create one text file called hobbies.txt 3. By using the cat command, add four hobbies (W. y) of your choice to the file (one hobby per line) 4. By using linux command/s, sort the content of the file alphabetically (the old content should be replaced). 5. Go to your home directory. 6. Use the Is command to show the .txt and .java files only (while you are at the home directory). 7. Make a copy all .txt and .java files into the General directory. 8. Delete all java files in the Java directory by using a single linux command

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!