Linux - Professsion - Quiz Flashcards
Which one of the following statements concerning Linux passwords is true?
All passwords can be decrypted using the system administrator’s master password
Passwords may never start with a non-letter
Passwords are only stored in encrypted form
Users cannot change their password once it has been set
Passwords may be at most six characters long
Passwords are only stored in encrypted form
Which of the following commands are used to view real-time memory usage (Choose two correct answers).
Nice
Top
Ps
Free
Memory
Top
Free
What is the number called that is used to identify a process?
Proc Num
PIN
Process Entry
PID
PID
When typing a long command line at the shell, what single character can be used to split a command across multiple lines?
\
When a new user is added, where does the user ID get stored?
/etc/realm
/etc/users
/etc/passwd
/etc/shpasswd
/etc/pass
/etc/passwd
What permissions are set on a file with the command chmod 654 file.txt?
-rwxrw–x
–wxr-x–x
Drw-r-xr–
D–wxr-x–
-rw-r-xr–
-rw-r-xr–
How could one search for the file foo.txt under the directory /home?
Find /home foo.txt
Search /home foo.txt
Find /home -file foo.txt
Search /home -file foo.txt
Find /home -name foo.txt
Find /home -name foo.txt
Given the following directory permissions:
drwxrwxrwt 14 root 36864 2012-03-02 11:17 tmp
What is the letter t at the end of drwxrwxrwt indicate?
It is the sticky bit that causes all commands in this directory to be launched as a root.
It makes the directory accessible for everybody.
It indicates that this directory contains only temporary files that may be deleted.
It means that even though the directory is global writable only the owner can delete their own files.
It is a temporary bit that prevents launching commands in this directory
It means that even though the directory is global writable only the owner can delete their own files.
Which of the following Linux distributions use the dpkg package management system? (Choose two correct answers)
Debian
Mandriva
Suse
Red Hat
Ubuntu
Debian
Ubuntu
Which of the following file systems is most commonly used for Linux distributions?
Ext4
HFS+
NTFS
FAT32
Ext4
Which of the following commands will display a list of all files in the current directory, including those that may be hidden?
Ls -h
Ls –a
Ls –hidden
Ls -a
Ls -a
Which of the following directories is often used to store log files?
/usr
/home
/var
/temp
/dev
/var
Which of the following Ubuntu releases is considered most stable and fit to use for business purposes?
LTS
Xubuntu
Kubuntu
Xubuntu Server
Ubuntu Vanilla
LTS
Which command shows if /usr/bin is in the current shell search path?
Echo $PATH
Echo %PATH%
Cat PATH
Cat %PATH
Echo $PATH
While deleting all files beginning with the letter a there was still the file Access.txt left. Assuming that it had the correct ownership, why was it not deleted?
Rm had to be called with the option -R to delete all files
Files with extensions need a different treatment
Linux file names are case sensitive
The file Access.txt was probably opened by another application
The file Access.txt was hidden
Linux file names are case sensitive
Which of the following software packages is an email server?
Apache
Thunderbird
Postfix
GIMP
MySQL
Postfix
Which of the following is true about open source software?
The freedom to redistribute copies must include binary or executable forms of the software but not the source code.
Open source software is available for commercial use
Open source software can not be copied for free
Open source software is not for sale
Open source software is available for commercial use
Which of the following commands can be used to extract files from an archive?
Tar -evf
Tar -vf
Tar -e
Tar -v
Tar -xvf
Tar -xvf
Which of the following will change the group that is associated with a file?
Chown
Chmod -w
Chmod
Ls -g
Chown
Which function does a shell program serve?
It is responsible for logging a user into the system
It provides a graphical environment
It receives user commands and executes them
It is responsible for establishing a connection to another computer
It receives user commands and executes them
Which command will display running process information in realtime?
Top
Show current
Ps current
Process
Top
Which of the following programs is not a graphical web browser?
Opera
Chrome
Firefox
Konqueror
Links
Links
Which command will archive /home and its content to /mnt/backp? Choose two correct answers.
Sync -r /home /mnt/backp
Mv /home /mnt/backp
Cp -ar /home /mnt/backp
Copy -r /home /mnt/backp
Tar -cf /mnt/backup/archive.tar /home
Cp -ar /home /mnt/backp
Tar -cf /mnt/backup/archive.tar /home
Which of the following applications are used to play an MP3 file on a Linux system? Choose three answers
Banshee
Audacious
Amarok
Xara Xtreme
LibreOffice Player
Banshee
Audacious
Amarok
Which commands provide help for a specific Linux command? (Choose two answers).
Whatdoes
Info
Man
Helpme
Ask
Info
Man
What does LAMP mean?
Short for Lightweight Access Management Protocol which synchronizes permission in a network
The bus ID of an attached USB device that emits light
The Linux Advanced Mode Programming Interface which gives advanced capabilities to application developers
The combination of Linux, Apache, MySQL, and PHP and other programming languages
Short for lamport-clock which is important in distributed network computing
The combination of Linux, Apache, MySQL, and PHP and other programming languages
Which network interface always exists in a Linux system?
Wlan0
Vlan0
Sit0
Lo
Eth0
Lo
The network interface “lo” always exists in a Linux system. “lo” stands for loopback and it is a virtual network interface that allows network communication within the same machine. It is used for testing and troubleshooting network configurations, as well as for accessing local services without the need for an external network connection.
Which of the following statements may be used to access the second command line argument to a script?
“$1”
$1
“ARG$2”
“$2”
“$2”
Which command displays the list of groups to which a user belongs?
Whoami
Isgroup
Who
Id
Id
What is the usual absolute path of the personal directory for the user foo?
/home/foo
Which of the following commands moves the directory ~/summer-vacation and its content to ~/vacation/2011?
Move -R ~/summer-vacation ~/vacation/2011
Mv -R ~/summer-vacation ~/vacation/2011
Mv ~/summer-vacation ~/vacation/2011
Mv /home/summer-vacation /home/vacation/2011
Mv ~/vacation/2011 ~/summer-vacation
Mv ~/summer-vacation ~/vacation/2011