Question: 1 . Create a directory named mango 1 2 . Create a file named mango 2 in the mango 1 directory. 3 . What command

1. Create a directory named mango1
2. Create a file named mango2 in the mango1 directory.
3. What command gives you a long listing of your filenames in the current directory, including permissions attached to each file.
4. What command would you use to change a files permissions to include read, write and execute permission for the owner of the file and read permission for the group only.
5. Create another file named mango3 in the mango1 directory.
6. Rename the mango3 file to mango4.
7. Make a copy of the file mango4 and name it mango5.
8. Print the information regarding the current working directory.
9. Print the current date on the screen.
10. Create a shell script named mango6. The script should perform the following tasks:
a. print the current working directory
b. display the current date on the screen
c. give a long listing of the files in the current directory
Run the script and display the output on the screen.

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!