Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

5. In your ~/script_hw directory, create a file called script1 that will display all the files (ls command) with long listing format (-l), and all

5. In your ~/script_hw directory, create a file called script1 that will display all the files (ls command) with long listing format (-l), and all the processes (ps command).

6. Change the default permission of your script1 file so that you will be able to execute it.

7. Execute script1.

8. In your ~/script_hw directory, create another file call script2 that will display the date, username, user ID, HOME environment variable, PATH environment variable.

9. Change the default permission of your script2 file so that you will be able to execute it.

10. Execute script2.

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

Big Data Systems A 360-degree Approach

Authors: Jawwad ShamsiMuhammad Khojaye

1st Edition

0429531575, 9780429531576

More Books

Students also viewed these Databases questions

Question

=+Trainers from headquarters? Local trainers? Independent trainers?

Answered: 1 week ago