NEW
Font size
WorksheetsLinux Essentials
Total questions: 22
Worksheet time: 11mins
Which of the following is an example of embedded Linux?
Android
Red Hat Linux
Fedora
Linux Mint
Which of the following is TRUE about open source software?
Open source software is always free
Open source software is a prominent example of open collaboration
Open source software is more secure than closed source software
Open source software does not have any support
Which of the following is NOT a Linux desktop environment?
KDE
XFCE
Dwarf
Gnome
The output of the program date should be saved in the variable datenow. What is the correct statement to enter into the shell to set this variable?
set datenow='date'
date | datenow
datenow='date'
date > $datenow
Which command is used to copy files from one directory to another?
mv
copy
cp
rm
What does the "rm -rf" command do in Linux?
Remove all files from the directory and subdirectories
Remove all the files in the current directory
Rename all the files in the directory and subdirectories
Rename all the files in the current directory
Which of the following commands will create an archive file, named backup.tar, containing all the files from the directory /home?
tar -cf backup.tar /home
tar -cf /home backup.tar
tar -xf /home backup.tar
tar -xf backup.tar /home
Which of the following directories is often used to store log files?
/var
/temp
/dev/hdc1d2p3
/usr
Command used to count number of character in a file is
cut
grep
wc
count
Hidden files are
Files that cannot be opened by ordinary user for writing
Permitted for (can be accessed) only super users
Those whose ‘read’ bit is set to ‘h’
Files that begin with a ‘.’
Which of the following information can be viewed using "ifconfig" command in the Linux operating system?
IP address
Mac address
MTU
All of the above
Which directory contains configuration files?
/usr
/bin
/var
/etc
Which of the Linux command-line commands listed below
is used for directory traversal?
cd
dir
ps
dig
Which of the following commands allows for moving one
level up in Linux directory tree?
cd -
cd ..
cd /
cd .
when creating soft link ,if the original file has been removed it won`t be useful any more ?
True
False
what is the Linux command used for displaying the content of the file without opening it ?
ls a.txt
show a.txt
cat a.txt
touch a.txt
What does the following command do?
touch media/popular.txt
It creates a file named popular.txt in your working directory
It creates a file named popular.txt in the media directory.
It changes the working directory to the media directory.
This command is not formed correctly.
You need to change some settings on your Apache server. Which is the best tool to use for logging in remotely?
rsh
ssh
rlogin
telnet
Which of the following commands can be used to modify a user?
moduser
usermod
useradd
adduser
Which command will display the users that are currently logged in to the system?
id
who
about
whoami
Which directory typically contains log files
/log
/usr/log
/var/log
/proc/log
The fdisk command is a tool used for working with the MBR partitioned disks.
True or False?
True
False
