WorksheetsDevops day 1
Total questions: 19
Worksheet time: 10mins
Which of the following are OS ?
Linux
Garuda
Ubuntu
Windows
_______ command is used to remove the directory?
rmdir
rm
rd
rdir
______ command is used to list contents of directories?
tar
dir
lp
ls
What command clears the contents of your terminal display?
clear
clr
clrscr
Which of the answers listed below refers to a Unix command for copying files and directories?
cp
copy
xcopy
robocopy
Which of the following commands allows for moving one level up in Linux directory tree?
cd -
cd ..
cd /
cd ~
Core of Linux operating system is _______
Shell
Terminal
Kernel
Command
What is the name of a Linux command used for renaming files and directories?
rm
ps
mv
ls
Which of the following commands allows for moving one
level up in Linux directory tree?
cd -
cd ..
cd /
cd .
Which Command Shows Permissions in Files
ls -l
ls -a
ls -h
ls -r
Moves to the root directory
cd ~
cd \
cd /
cd ..
pwd command displays
user password
present working directory
none of the mentioned
password file content
How do you rename file “new” to file “old”?
mv new old
move new old
rn new old
cp new old
pwd command displays
user password
present working directory
none of the mentioned
password file content
To get info about a command we use
man
ls
help
info
Who can change the password of any user?
Everyone
Super user
Supervisor
End-User
Which of the following command is file editor command ?
cat
vi
echo
grep
which of the following command is used to change the file permission?
usermod
umask
chage
chmod
Which command displays the contents of a file?
cat
pipe
ls
tee
