Question: B. Write a Linux Bash script to perform following operations? 1. Display your name and system hostname 2. Create user with your name 3. Create

B. Write a Linux Bash script to perform following operations?

1. Display your name and system hostname

2. Create user with your name

3. Create directory with name KICSITDIR and change there ownership to your user

4. Create an empty file with name KICSITFILE and write this string into file kicsit CS-4

5. Set the permission of directory KICSITDIR to 755 and KICSITFILE to 644

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!