Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

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

Upgrading Oracle Databases Oracle Database New Features

Authors: Charles Kim, Gary Gordhamer, Sean Scott

1st Edition

B0BL12WFP6, 979-8359657501

More Books

Students also viewed these Databases questions