Question: please answer all questions Scenario #4 As an additional requirement of the first scenario, you are asked to perform the following comman and provide a

 please answer all questions Scenario #4 As an additional requirement of

please answer all questions

Scenario #4 As an additional requirement of the first scenario, you are asked to perform the following comman and provide a screen shot for each task, using a snipping tool: 1. Create a directory and name it as scenario2. student@tech28-virtualBox:-$ mkdir scenario2 2. Inside the created scenario2 directory, create a text file named sports.txt that contains at lea five (5) of your favorite sports. student@tech28-VirtualBox:-$ cd scenario2 student@tech28-VirtualBox:-/scenario2$ cat > sports.txt Cricket Football Tennis basketball badminton Az Stopped cat > sports.txt 3. Sort the content of sports.txt. student@tech28-VirtualBox:-/ scenario25 sort sports.txt badminton basketball Cricket Football Tennis 4. In the created scenario2 directory, create a sub-directory and name it using your name. student@tech28-VirtualBox:-/scenario2$ mkdir ali 5. In the created sub-directory, copy the sports.txt as favsports.txt. student@tech28-VirtualBox:-/scenario2$ cd ali student@tech28-VirtualBox:-/scenario2/alis cp -/scenario2/sports.txt favsports.txt 6. Rename the favsports.txt as myfavsports.txt. student@tech28-VirtualBox:-/scenario2/alis my favsports.txt my favsports.txt student@tech28-VirtualBox:-/scenario2/alis is myfavsports.txt sports.txt 7. Change the directory to scenario2 directory. student@tech28-VirtualBox:-/scenario2/alis cd .. student@tech28-VirtualBox:-/scenario2$ 8. Delete sports.txt. student@tech28-VirtualBox:-/scenario2$ rm sports.txt student@tech28-VirtualBox:-/scenariozs 9 List the directory in long (detailed) format. student@tech28-VirtualBox:-/scenario2$ ls -1 total 4 drwxrwxr-x 2 student student 4096 10:51 ali 10. Clear the screen. student@tech28-VirtualBox:-/scenario2$ clear 1

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!