Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Part 1 : C + + 1 . Create a directory named iron 1 2 . Create a file named iron 2 in the iron

Part1: C++
1. Create a directory named iron1
2. Create a file named iron2 in the iron1 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 iron3 in the iron1 directory.
6. Rename the iron3 file to iron4.
7. Make a copy of the file iron4 and name it iron5.
8. Print the information regarding the current working directory.
9. Print the current date on the screen.
10. Create a shell script named iron6. 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

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_2

Step: 3

blur-text-image_3

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

=+44-6 Discuss predictors of happiness and how we can be happier.

Answered: 1 week ago

Question

Briefly describe vegetative reproduction in plants.

Answered: 1 week ago

Question

1. What are the peculiarities of viruses ?

Answered: 1 week ago

Question

Evaluate the importance of the employee handbook.

Answered: 1 week ago

Question

Discuss the steps in the progressive discipline approach.

Answered: 1 week ago