Quiz
Examen Simulacro II: Linux Essentials
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (40)
1How could one search for the file foo.txt under the directory /home?
- Afind /home -name foo.txt
- Bfind /home foo.txt
- Csearch /home -file foo.txt
- Dsearch /home foo.txt
2Which function does a shell program server?
- AIt receives user commands and executes them
- BIt is responsible for logging a user into the system
- CIt is responsible for establishing a connection to another computer
- DIt provides a graphical environment
3The output of the program date should be saved in the variable actdat. What is the correct statement?
- AActdat='date'
- BDate | acdat
- CSet actdat='date'
- DActdat=date
4Which of the following statements may be used to access the second command line argument to a script?
- A"$1"
- B"$2"
- C'$2'
- D$1
5Which command will display running process information in realtime?
- Aps current
- Btop
- Cshow current
- DProcess
6Which of the following file systems is most commonly used for Linux distributions?
- ANTFS
- BFAT32
- Cext4
- DHFS+
7Which one of the following statements concerning Linux passwords is true?
- APasswords are only stored in encrypted form
- BPasswords may never start with a non-letter
- CAll passwords can be decrypted using the system administrator's master password
- DUsers cannot change their password once it has been set
8Why is the file data.txt empty after executing sort data.txt > data.txt?
- ABecause the file gets truncated before the sort is executed
- BBecause, if data.txt is empty now, it must have been empty before
- CBecause sort cannot sort text files, only binary files
- DBecause sort detects that both files are the same
9Where is the BIOS located?
- ARAM
- BLCD Monitor
- CHard drive
- DMotherboard
10You have a program called /user/bin/foo. You wish to create a symbolic link, /home/user/bin/foo, that points to it. Which command will do this task?
- Aln -s /user/bin/foo /home/user/foo
- Bln -sys /home/user/foo /user/bin/foo
- Cln /user/bin/foo /home/user/foo
- Dln /home/user/foo /user/bin/foo
11What keyword is missing from the following segment of the shell script?
for i in*;----cat $idone- AEndo
- BDo
- CThen
- DFi
12What is the command that will show system boot time messages?
- ADisplay system boot
- BMessages
- Cdmesg
- Dlspci
13Which of the following is a Linux based operating system for use on mobile devices?
- ACentOS
- BDebian
- CAndroid
- DFedora
14Which network interface always exists in a Linux system?
- Alo
- Bwlan0
- Cvlan0
- Deth0
15Which command shows if /usr/bin is in the current shell search path?
- Acat $PATH
- Becho %PATH
- Cecho $PATH
- Decho %PATH%
16What are the three sets of permission for a file?
- AAdministrator, standard user, others
- BUser, group, others
- CAdministrator, group, others
- DUser, standard user, others
17Which of the following programs is not a graphical web browser?
- AChrome
- BKonqueror
- CLinks
- DFirefox
18After installing a new package, in which directory are you most likely find its configuration file?
- A/etc
- B/conf
- C/usr
- D/lib
19What are the three sets of permission for a file?
- AAdministrator, group, others
- BUser, group, others
- CUser, standard user, others
- DAdministrator, standard user, others
20Which of the following is true about open source software?
- AOpen source software is available for commercial use
- BOpen source software is not for sale
- COpen source software can not be copied for free
- DThe freedom to redistribute copies must include binary or executable forms of the software but not the source code.
21What is the preferred source for the installation of new applications?
- AThe distribution's package repository
- BA CD-ROM disk
- CA retail store
- DThe vendor's website
22Which of the following is a combined audio/video interface for transmission of digital data?
- AHDMI
- BDVD
- CVGA
- DATI
23Which of the following commands moves the directory ~/summer-vacation and it content to ~/vacation/2011?
- Amv ~/summer-vacation ~/vacation/2011
- Bmv -R ~/summer-vacation ~/vacation/2011
- Cmove -R ~/summer-vacation ~/vacation/2011
- Dmv /home/summer-vacation /home/vacation/2011
24Which command line can be used to search help files that mention the word "copy"?
- Acopy help
- Bwhatis copy
- Cman l-k copy
- Dcopy -help
25Which of the following software packages is an email server?
- APostfix
- BApache
- CMySQL
- DGIMP
26Which of the following can be used to access the command line?
- ATerminal
- BFirefox
- CBIOS
- DXWindow
27After installing a new package, in which directory are you most likely find its configuration file?
- A/usr
- B/conf
- C/etc
- D/lib
28Why is the file data.txt empty after executing sort data.txt > data.txt?
- ABecause the file gets truncated before the sort is executed
- BBecause sort cannot sort text files, only binary files
- CBecause sort detects that both files are the same
- DBecause, if data.txt is empty now, it must have been empty before
29Which option will cause the echo command NOT to output a trailing newline?
- A-p
- B-e
- C-n
- D-s
30Which of the following statements concerning the General Public License (GPL) is true?
- AIf you changed a program you received under the GPL, you must send your changes to the original author for approval
- BGPL software may never be sold for money
- CThe GPL is identical to the BSD license
- DThe GPL is designed to ensure that the source code of a software remains freely available
31Identify the proper device for the third partition, on the second hard disk, on the first IDE controller on a PC system.
- A/dev/hdb3
- B/dev/hd1b3
- C/dev/hdc1d2p3
- DDev/hdc1a3
32Which command lists all files in the current directory that starts with a capital letter?
- Als A-Z*
- Bls [A-Z]*
- Cls A-Z
- Dls -uppercase-files
33How can the normal output of a command be written to a file while discarding the error output?
- ACommand> file2>/dev/null
- BCommand /dev/null
- CCommand>2>file &1>/dev/null
- DCommand>2>discard-error>file
34Which of the following Ubuntu releases is considered most stable and fit to use for business purposes?
- AUbuntu Vanilla
- BLTS
- CXubuntu
- DKubuntu
35The following file is found in which system file?
root:x:0:0::/root:/bin/bash- A/usr/bin/shadow
- B/etc/passwd
- C/etc/shadow
- D/etc/password
36Which is a suitable command to find the next appearance of the word hidden in a man page being viewed from the command line?
- A/hidden
- B/? hidden
- CCTRL-F hidden
- DFind hidden
37While 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?
- ALinux file names are case sensitive
- BRm had to be called with the option -R to delete all files
- CFiles with extensions need a different treatment
- DThe file Access.txt was hidden
38What is the output of the following command?tail -n 20 test.txt
- AThe last 20 lines of test.txt including the black lines
- BThe last 20 lines of test.txt omitting the black lines
- CThe last 20 lines of test.txt with line numbers
- DThe first 20 lines of test.txt
39Which of the following commands will display a list of all files in the current directory, including those that may be hidden?
- Als -a
- Bls --hidden
- Cls -h
- Dls --a
40Which command will display the last line of the file foo.txt?
- Atail -n 1 foo.txt
- Blast -n 1 foo.txt
- Chead -n foo.txt
- Dtail foo.txt
Information
- Description
- Quiz on Examen Simulacro II: Linux Essentials, created by Carlos Alberto Jara Alva on 17/11/2022.
- Author
- Carlos Alberto Jara Alva
- Language
- Español
- Views
- 83
- Rating
- No ratings yet Rate this quiz