Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1 . Create a directory named mack 1 2 . Create a file named mack 2 in the iron 1 directory. 3 . What command
Create a directory named mack
Create a file named mack in the iron directory.
What command gives you a long listing of your filenames in the current directory, including permissions attached to each file.
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.
Create another file named mack in the iron directory.
Rename the mack file to mack
Make a copy of the file mack and name it mack
Print the information regarding the current working directory.
Print the current date on the screen.
Create a shell script named mack 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.
You need to paste the commands, code and program output in a word document and submit it
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started