Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Part 1 - Linux/Unix Commands Before you get started, you need to know the script command and how to remotely log onto a Linux machine.

image text in transcribedimage text in transcribed

Part 1 - Linux/Unix Commands Before you get started, you need to know the script command and how to remotely log onto a Linux machine. You can think of the script as a "recording" of your Unix commands. Rectangular A script is started by typing: script filename.txt. You end the script by typing exit. To remotely log on to the Linux machines, you first need to know the Linux machines that are available to you. The command to tell you that is: cs_clients CL115. Then, you pick one machine from the list and type: ssh machine ALL LABS (AND SCRIPTS) SHOULD BE DONE ON LINUX Follow all of the steps: 1. start a script in your home directory (hint: script commands.txt will start the script and save it to commands.txt) 2. display all of the Linux machines in CL115 3. log onto one of the Linux machines in the list 4. (create and) change into your c5330 directory 5. create and change into a testscript directory 6. create three new directories named good, bad, and ugly 7. display the contents of the current directory 7. display the contents of the current directory 8. change into your good directory 9. without using a text editor, create three files called 'one', 'two', and 'three' 10. check the timestamps with ls -1 11. create a directory named BAK 12. copy the file 'three to the directory BAK and rename it three bak' (try to do it in one statement) 13. change working directory to BAK ctangular Sni 14. check the timestamps and permissions with ls -1 15. move up one directory 16. copy the BAK directory to the ugly directory created in Step 6 (hint: you might have to use".") 17. without changing the directory, list the contents of the ugly directory 18. remove the original BAK directory and its contents 19. logout of the Linux machine (hint: exit or lo) 20. exit from the script (hint: exit)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

4. Explain different approaches to organizational communications.

Answered: 1 week ago