WorksheetsOS - Assessment 09
Total questions: 10
Worksheet time: 8mins
What are ways to get into Command Prompt?
Use search bar type in CMD
Click on Windows button + R type in CMD
Which of the ff are basic CLI Windows OS commands?
cd
dir
mkdir
rmdir
Which of the ff basic CLI Windows OS commands is used in displaying the contents of the a directory?
cd
dir
mkdir
rmdir
Type in the command that is used to move up one level in the directory hierarchy
(a)
Which of the ff are the correct ways of using the echo command?
echo Hi > hi.txt
echo " " > space.txt
echo Hi < hi.txt
echo " " < space.txt
What does the ff command do: copy hi.txt "C:\User\PC\Desktop\Lab\hello.txt"
copy the hi.txt to another file named hello.txt on the same location
copy hi.txt from the current location and the new file is named hello.txt and will be copied to another location
What does this command do? move “C:\Users\me\Desktop\hi.txt” “C:\Users\me\Desktop\OS”
move and rename the hi.txt to another location
move hi.txt to another location
Pick which of the ff are successful commands in deleting files.
del hello.txt
del “C:\Users\me\Desktop\hello.txt”
del “C:Users\me\Desktop\hello.txt”
Which is the correct format in renaming files?
rename oldname newname
ren oldname newname
Can you use cd .. if I want to go down one level of the hierarchy of the directory?
Yes
No
