Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can someone please help me with Linux/Unix? To answer the following questions, you have to include . The text or screen-shots of command(s) that you

Can someone please help me with Linux/Unix?

image text in transcribed

To answer the following questions, you have to include . The text or screen-shots of command(s) that you type to perform a task. . The text or screen-shots of any console output from those commands (the output from a directory listing, for example) . Make sure that you include ALL commands you used to do a task. This includes any commands you have to type to move to a specific directory. Make sure your pasted texts or screen-shots are clear enough to showing where you are or have moved to Question 3: Manipulate files in UNIX (30 marks- 3 marks each Assume you are started at your home directory again a) Create and change your current working directory to Foundation of IT (Stay in this directory for the rest of the steps in question 3) Create two new subdirectories called FITI1 and FIT12 in Foundation of IT directory Create a new file called "MyFile.txt" using the touch command and insert three lines into the file b) c) 1. The first line should contain your name and ID number. 2. The second line should be a sentence that tells me your favourite movie. 3. The third line should be a sentence that tells me your favourite sport. d) Display the contents of the file "MyFile.txt" to the standard output (screen) e) Copy the file "MyFile.txt" to directory "FITI1" and rename it to "t 1.txt" f Change your working directory to "FITI1". Make a copy of "t_1.txt" with the name "t_2.txt" (in the same directory). g) Display the current contents of the directory "FITI1" h) Copy the "t 1.txt" file to directory "FITI2" and Display the current contents of the directory i) j) FITI2" Delete the file "t 1.txt" in the directory "FITI1" Display "FITI1" directory contents To answer the following questions, you have to include . The text or screen-shots of command(s) that you type to perform a task. . The text or screen-shots of any console output from those commands (the output from a directory listing, for example) . Make sure that you include ALL commands you used to do a task. This includes any commands you have to type to move to a specific directory. Make sure your pasted texts or screen-shots are clear enough to showing where you are or have moved to Question 3: Manipulate files in UNIX (30 marks- 3 marks each Assume you are started at your home directory again a) Create and change your current working directory to Foundation of IT (Stay in this directory for the rest of the steps in question 3) Create two new subdirectories called FITI1 and FIT12 in Foundation of IT directory Create a new file called "MyFile.txt" using the touch command and insert three lines into the file b) c) 1. The first line should contain your name and ID number. 2. The second line should be a sentence that tells me your favourite movie. 3. The third line should be a sentence that tells me your favourite sport. d) Display the contents of the file "MyFile.txt" to the standard output (screen) e) Copy the file "MyFile.txt" to directory "FITI1" and rename it to "t 1.txt" f Change your working directory to "FITI1". Make a copy of "t_1.txt" with the name "t_2.txt" (in the same directory). g) Display the current contents of the directory "FITI1" h) Copy the "t 1.txt" file to directory "FITI2" and Display the current contents of the directory i) j) FITI2" Delete the file "t 1.txt" in the directory "FITI1" Display "FITI1" directory contents

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, Mining, And Analytics Components Of Strategic Decision Making

Authors: Stephan Kudyba

1st Edition

1466568704, 9781466568709

More Books

Students also viewed these Databases questions

Question

1. Prepare a flowchart of Dr. Mahalees service encounters.

Answered: 1 week ago