Examen Simulacro I - Linux Essentials

Beschreibung

Quiz am Examen Simulacro I - Linux Essentials, erstellt von Carlos Alberto Jara Alva am 02/10/2022.
Carlos Alberto Jara Alva
Quiz von Carlos Alberto Jara Alva, aktualisiert more than 1 year ago
Carlos Alberto Jara Alva
Erstellt von Carlos Alberto Jara Alva vor fast 2 Jahre
113
0

Zusammenfassung der Ressource

Frage 1

Frage
Which of the following commands can be used to determine the time of the last login of a given user?
Antworten
  • Showlog
  • Recent
  • history
  • last

Frage 2

Frage
Which of the following commands is used to lookup the current IP address of a system?
Antworten
  • Ifconfig
  • Sysinfo | grep ipaddress
  • Ipconfig
  • Showip

Frage 3

Frage
Where is the BIOS located?
Antworten
  • Motherboard
  • Hard drive
  • LCD Monitor
  • RAM

Frage 4

Frage
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?
Antworten
  • 0640
  • 0444
  • 0466
  • 0540

Frage 5

Frage
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?  
Antworten
  • 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

Frage 6

Frage
What keyword is missing from the following segment of the shell script?for i in*;----cat $idone
Antworten
  • Do
  • Endo
  • Then
  • Fi

Frage 7

Frage
What is the command that will show system boot time messages?
Antworten
  • Display system boot
  • Messages
  • dmesg
  • lspci

Frage 8

Frage
Which of the following is a Linux based operating system for use on mobile devices?
Antworten
  • Android
  • CentOS
  • Debian
  • Fedora

Frage 9

Frage
Which network interface always exists in a Linux system?
Antworten
  • wlan0
  • lo
  • vlan0
  • eth0

Frage 10

Frage
Which command shows if /usr/bin is in the current shell search path?
Antworten
  • cat $PATH
  • echo %PATH
  • echo $PATH
  • echo %PATH%

Frage 11

Frage
What is the number called that is used to identify a process?
Antworten
  • Process Entry
  • PIN
  • PID
  • Proc Num

Frage 12

Frage
Which one of the following statements concerning Linux passwords is true?
Antworten
  • 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

Frage 13

Frage
What are the three sets of permission for a file?
Antworten
  • Administrator, standard user, others
  • Administrator, group, others
  • User, group, others
  • User, standard user, others

Frage 14

Frage
Which of the following will change the group that is associated with a file?
Antworten
  • chmod
  • chmod -w
  • chown
  • ls -g

Frage 15

Frage
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?
Antworten
  • 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

Frage 16

Frage
Which of the following programs is not  a graphical web browser?
Antworten
  • Chrome
  • Links
  • Konqueror
  • Firefox

Frage 17

Frage
What is the output of the following command?tail -n 20 test.txt
Antworten
  • 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

Frage 18

Frage
Which of the following commands will display a list of all files in the current directory, including  those that may be hidden?
Antworten
  • ls -a
  • ls --hidden
  • ls -h
  • ls --a

Frage 19

Frage
Which command will display the last line of the file foo.txt?
Antworten
  • last -n 1 foo.txt
  • head -n foo.txt
  • tail -n 1 foo.txt
  • tail foo.txt

Frage 20

Frage
Which Linux distribution is used as a basis for the creation of Ubuntu Linux?
Antworten
  • Debian Linux
  • Red Hat Linux
  • SUSE Linux
  • Gentoo Linux

Frage 21

Frage
Which command is used to make a shell variable known to subsequently executed programs?
Antworten
  • export
  • Announce
  • env
  • mv

Frage 22

Frage
Which command displays the list of groups to which a user belongs?
Antworten
  • Id
  • Whoami
  • Isgroup
  • Who

Frage 23

Frage
Which of the following hardware devices links a number of computers together to form an Ethernet LAN?
Antworten
  • Switch
  • Access point
  • Terminal
  • Server

Frage 24

Frage
Which of the following commands can be used to extract files from an archive?
Antworten
  • tar -evf
  • tar -vf
  • tar -v
  • tar -xvf

Frage 25

Frage
Which of the following commands can be used to view a file and do search operations within it while viewing the contents?
Antworten
  • less
  • grep
  • report
  • find

Frage 26

Frage
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?
Antworten
  • _ (underscore)
  • - (minus)
  • \ (backslash)
  • . (dot)

Frage 27

Frage
Which command line can be used to search help files that mention the word "copy"?
Antworten
  • copy help
  • man l-k copy
  • whatis copy
  • copy -help

Frage 28

Frage
Which of the following software packages is an email server?
Antworten
  • Apache
  • MySQL
  • Postfix
  • GIMP

Frage 29

Frage
Which of the following can be used to access the command line?
Antworten
  • Firefox
  • BIOS
  • Terminal
  • XWindow

Frage 30

Frage
After installing a new package, in which directory are you most likely find its configuration file?
Antworten
  • /etc
  • /conf
  • /usr
  • /lib

Frage 31

Frage
Why is the file data.txt empty after executing sort data.txt > data.txt?
Antworten
  • 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

Frage 32

Frage
Which option will cause the echo command NOT to output a trailing newline?
Antworten
  • -e
  • -n
  • -p
  • -s

Frage 33

Frage
Which of the following statements concerning the General Public License (GPL) is true?
Antworten
  • 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

Frage 34

Frage
Identify the proper device for the third partition, on the second hard disk, on the first IDE controller on a PC system. 
Antworten
  • /dev/hdb3
  • /dev/hd1b3
  • /dev/hdc1d2p3
  • Dev/hdc1a3

Frage 35

Frage
Which command lists all files in the current directory that starts with a capital letter?
Antworten
  • ls -uppercase-files
  • ls A-Z
  • ls A-Z*
  • ls [A-Z]*

Frage 36

Frage
How can the normal output of a command be written to a file while discarding the error output?
Antworten
  • Command>2>discard-error>file
  • Command>2>file &1>/dev/null
  • Command /dev/null
  • Command> file2>/dev/null

Frage 37

Frage
Which of the following Ubuntu releases is considered most stable and fit to use for business purposes?
Antworten
  • LTS
  • Ubuntu Vanilla
  • Xubuntu
  • Kubuntu

Frage 38

Frage
The following file is found in which system file? root:x:0:0::/root:/bin/bash
Antworten
  • /etc/passwd
  • /usr/bin/shadow
  • /etc/shadow
  • /etc/password

Frage 39

Frage
Which is a suitable command to find the next appearance of the word hidden in a man page being viewed from the command line?
Antworten
  • /hidden
  • /? hidden
  • CTRL-F hidden
  • Find hidden

Frage 40

Frage
Incoming SSH connections are accepted by the sshd daemon on which default port?
Antworten
  • 80
  • 23
  • 21
  • 22
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

Neuzeit - Erfindungen, Entdeckungen & Eroberungen
Markus Grass
Elektrische Spannung
Peter Kasebacher
Gedichtanalyse
AntonS
Wortschatz Französisch 1. Angaben zur Person
l_u_n_a_19
Vetie - Allgemeine Pathologie
Fioras Hu
GESKO JOUR Karteikarten
Sascha Walter
Vetie Allgemeine Pathologie Altfragen 2016
Nele Unger
BM13 Swertz 2018 Quiz 1
Daniel Martinovic
Vetie Radiologie Vorlesungsfragen
Sophie Lütkemöller
Vetie Tierseuchenbekämpfung 2015
Johanna Müller
Vetie Para Morphologie
Kristin E