Questão 1
Questão
Which of the following commands can be used to determine the time of the last login of a given user?
Responda
-
Showlog
-
Recent
-
history
-
last
Questão 2
Questão
Which of the following commands is used to lookup the current IP address of a system?
Responda
-
Ifconfig
-
Sysinfo | grep ipaddress
-
Ipconfig
-
Showip
Questão 3
Questão
Where is the BIOS located?
Responda
-
Motherboard
-
Hard drive
-
LCD Monitor
-
RAM
Questão 4
Questão
Which permissions should be given to a file that needs to be opened and edited by the file's owner and opened read-only by the file's group?
Questão 5
Questão
You 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?
Responda
-
Ln -sys /home/user/foo /user/bin/foo
-
Ln -s /user/bin/foo /home/user/foo
-
Ln /user/bin/foo /home/user/foo
-
Ln /home/user/foo /user/bin/foo
Questão 6
Questão
What keyword is missing from the following segment of the shell script?for i in*;----cat $idone
Questão 7
Questão
What is the command that will show system boot time messages?
Responda
-
Display system boot
-
Messages
-
dmesg
-
lspci
Questão 8
Questão
Which of the following is a Linux based operating system for use on mobile devices?
Responda
-
Android
-
CentOS
-
Debian
-
Fedora
Questão 9
Questão
Which network interface always exists in a Linux system?
Questão 10
Questão
Which command shows if /usr/bin is in the current shell search path?
Responda
-
cat $PATH
-
echo %PATH
-
echo $PATH
-
echo %PATH%
Questão 11
Questão
What is the number called that is used to identify a process?
Responda
-
Process Entry
-
PIN
-
PID
-
Proc Num
Questão 12
Questão
Which one of the following statements concerning Linux passwords is true?
Responda
-
Passwords are only stored in encrypted form
-
Passwords may never start with a non-letter
-
Passwords may be at most six characters long
-
Users cannot change their password once it has been set
Questão 13
Questão
What are the three sets of permission for a file?
Responda
-
Administrator, standard user, others
-
Administrator, group, others
-
User, group, others
-
User, standard user, others
Questão 14
Questão
Which of the following will change the group that is associated with a file?
Responda
-
chmod
-
chmod -w
-
chown
-
ls -g
Questão 15
Questão
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?
Responda
-
Linux file names are case sensitive
-
Rm had to be called with the option -R to delete all files
-
Files with extensions need a different treatment
-
The file Access.txt was hidden
Questão 16
Questão
Which of the following programs is not a graphical web browser?
Responda
-
Chrome
-
Links
-
Konqueror
-
Firefox
Questão 17
Questão
What is the output of the following command?tail -n 20 test.txt
Responda
-
The last 20 lines of test.txt including the black lines
-
The last 20 lines of test.txt omitting the black lines
-
The last 20 lines of test.txt with line numbers
-
The first 20 lines of test.txt
Questão 18
Questão
Which of the following commands will display a list of all files in the current directory, including those that may be hidden?
Responda
-
ls -a
-
ls --hidden
-
ls -h
-
ls --a
Questão 19
Questão
Which command will display the last line of the file foo.txt?
Responda
-
last -n 1 foo.txt
-
head -n foo.txt
-
tail -n 1 foo.txt
-
tail foo.txt
Questão 20
Questão
Which Linux distribution is used as a basis for the creation of Ubuntu Linux?
Responda
-
Debian Linux
-
Red Hat Linux
-
SUSE Linux
-
Gentoo Linux
Questão 21
Questão
Which command is used to make a shell variable known to subsequently executed programs?
Questão 22
Questão
Which command displays the list of groups to which a user belongs?
Questão 23
Questão
Which of the following hardware devices links a number of computers together to form an Ethernet LAN?
Responda
-
Switch
-
Access point
-
Terminal
-
Server
Questão 24
Questão
Which of the following commands can be used to extract files from an archive?
Responda
-
tar -evf
-
tar -vf
-
tar -v
-
tar -xvf
Questão 25
Questão
Which of the following commands can be used to view a file and do search operations within it while viewing the contents?
Questão 26
Questão
What is the first character for a file or directory names if they should not be displayed by commands such as ls unless specifically requested?
Responda
-
_ (underscore)
-
- (minus)
-
\ (backslash)
-
. (dot)
Questão 27
Questão
Which command line can be used to search help files that mention the word "copy"?
Responda
-
copy help
-
man l-k copy
-
whatis copy
-
copy -help
Questão 28
Questão
Which of the following software packages is an email server?
Responda
-
Apache
-
MySQL
-
Postfix
-
GIMP
Questão 29
Questão
Which of the following can be used to access the command line?
Responda
-
Firefox
-
BIOS
-
Terminal
-
XWindow
Questão 30
Questão
After installing a new package, in which directory are you most likely find its configuration file?
Questão 31
Questão
Why is the file data.txt empty after executing sort data.txt > data.txt?
Responda
-
Because the file gets truncated before the sort is executed
-
Because sort cannot sort text files, only binary files
-
Because sort detects that both files are the same
-
Because, if data.txt is empty now, it must have been empty before
Questão 32
Questão
Which option will cause the echo command NOT to output a trailing newline?
Questão 33
Questão
Which of the following statements concerning the General Public License (GPL) is true?
Responda
-
The GPL is designed to ensure that the source code of a software remains freely available
-
The GPL is identical to the BSD license
-
GPL software may never be sold for money
-
If you changed a program you received under the GPL, you must send your changes to the original author for approval
Questão 34
Questão
Identify the proper device for the third partition, on the second hard disk, on the first IDE controller on a PC system.
Responda
-
/dev/hdb3
-
/dev/hd1b3
-
/dev/hdc1d2p3
-
Dev/hdc1a3
Questão 35
Questão
Which command lists all files in the current directory that starts with a capital letter?
Responda
-
ls -uppercase-files
-
ls A-Z
-
ls A-Z*
-
ls [A-Z]*
Questão 36
Questão
How can the normal output of a command be written to a file while discarding the error output?
Questão 37
Questão
Which of the following Ubuntu releases is considered most stable and fit to use for business purposes?
Responda
-
LTS
-
Ubuntu Vanilla
-
Xubuntu
-
Kubuntu
Questão 38
Questão
The following file is found in which system file?
root:x:0:0::/root:/bin/bash
Responda
-
/etc/passwd
-
/usr/bin/shadow
-
/etc/shadow
-
/etc/password
Questão 39
Questão
Which is a suitable command to find the next appearance of the word hidden in a man page being viewed from the command line?
Responda
-
/hidden
-
/? hidden
-
CTRL-F hidden
-
Find hidden
Questão 40
Questão
Incoming SSH connections are accepted by the sshd daemon on which default port?