0% found this document useful (0 votes)
13 views2 pages

Group FF Task 1 (Internal & External Commands)

computer network

Uploaded by

kautavincent54
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views2 pages

Group FF Task 1 (Internal & External Commands)

computer network

Uploaded by

kautavincent54
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

INTRODUCTION TO COMPUTER SCIENCE

WINDOWS COMMAND-LINE (INTERNAL & EXTERNAL COMMANDS)

Lab Deliverable: Document each and every successful command you run in a .txt file as assessing
will be based on both result of the run and the command itself.

Question 1

a. The tree is a tiny, cross-platform command-line program used to recursively list or display the
content of a directory in a tree-like format. Tree is one of the external commands. directory can be
described as an index telling the computer where the data included in files were located on the hard
drive of your computer. That index also keeps track of the file names, sizes, modified dates, etc.

Using the windows command prompt only, implement the below structure.

Give all the files write and read permissions (all the files are in a pdf form)

Write down the sequence of commands that allow you to create the structure: (7 marks)
Go to the hard drive directory and run a tree/f command.

NB You can create a file using echo command e.g., echo some-text > filename.txt

b. Create another directory called newly downloaded in the downloads directory. Then copy
every file from the first level directory(b) and paste them to this newly created directory. (2
marks)
c. Create another directory called assignments inside documents directory. Then move all the files
from third level directory(e), paste it to this newly created directory and rename them
assignment 1 and assignment 2. (2 marks)
d. Change the extension for file6 into a text document file (0.5 mark).
e. Delete all the files found at the highest-level directory in your directory structure (0.5 mark)
f. Clear the screen and exit the command prompt window. (1 mark)

g. Attendance (2 marks)

You might also like