Question: CIS 1130 Meadors 2019 Operating Systems Name: ___________ Lab Project 5 Purpose: To utilize various Command Line Interface (CLI) commands to be able to create
CIS 1130 Meadors 2019 Operating Systems
Name: ___________ Lab Project 5
Purpose: To utilize various Command Line Interface (CLI) commands to be able to create and manage a directory structure and manipulate files and directories. Note the CLI is sometimes referred to in MS Windows as the DOS (Disk Operating System) prompt.
A. Building the Command Line Interface (CLI) directory tree:
Using various CLI commands, build the following directory structure from your home directory. Files end in an extension such as txt, doc or dat. For the contents of the file, put the file name in it and then at least one other line of text of your choice or copy from an existing file.
Note the top directory of LabProject5. You can place your work in another location besides the C: drive.
C:\ LabProject5 | ____________|___________________________________ | | | | | | | | | | dirAA dirBB file55.txt file66.txt marketingA | |______________ | ___|____ | | | | | | dir3 dir4 dir5 ______|______ paychecks history | | | | ____ | _____ | | __|____ | | sales advertising | | subA subB | pay9.doc pay10.doc | ______|_______ memo.doc | | | t1.dat t2.dat t3.dat
B. Using CLI commands:
Note: For each activity, assume you are in the LabProject5 directory.
1. Copy t3.dat to C:\ LabProject5\marketingA\advertising. Write the command(s):
2. Move pay9.doc to C:\ LabProject5\dirAA\history. Write the command(s):
3. Create a file, named file8.dat, in dir5. Write the command(s):
4. Change to the root directory. Write the command(s):
5. From the root directory, delete file8.dat using a full path. Write the command(s):
6. Rename pay10.doc to pay4.doc. Write the command(s):
7. Hide file6.dat. Write the command(s):
8. Make t2.dat read-only. Write the command(s):
9. Copy the entire C:\LabProject5\dirBB subtree to a new directory named C:\LabProject5\dirBB2. Write the command(s):
10. Using one command, delete all the files ending in .dat in C:\marketingA\sales. Write the command(s):
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
