Question: Using the Unix/Linux shell (bash) write these following commands in a console windows. 1. Make a directory called test 2. Change your working directory to
Using the Unix/Linux shell (bash) write these following commands in a console windows.
1. Make a directory called test 2. Change your working directory to test 3. print your working directory 4. List the names of the files in your directory 5. Make an empty file in your directory named file1 6. Make a copy of file1 and call it file2 7. List the names of the files in your directory 8. Change the name of file2 to file3 9. List the names of the files in your directory 10. Delete file file3 11. List the details of the files in your directory 12. Change the permissions of file1 so that users, group and other can all read, users and group can write, users can execute 13. List the details of the files in your directory 14. List the details of the files in your parent directory 15. Show the processes running. 16. Use vi to write a java program that loops forever, i.e. an infinite loop. 17. Compile the program 18. Run the program as a background task 19. Show the processes running and note the PID of your program (name will be java) 20. Kill your program 21. Show the processes running and note the PID of your program is missing 22. Change your directory to the your parent directory 23. Print your working directory 24. List the details of the files in your directory 25. List the details of the files in the subdirectory test 26. Delete test and all the files it contains with a single command 27. List the details of the files in your directory
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
