Examen Simulacro II: Linux Essentials

Beschreibung

Quiz am Examen Simulacro II: Linux Essentials, erstellt von Carlos Alberto Jara Alva am 17/11/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 mehr als ein Jahr
58
0

Zusammenfassung der Ressource

Frage 1

Frage
How could one search for the file foo.txt under the directory /home?
Antworten
  • find /home -name foo.txt
  • find /home foo.txt
  • search /home -file foo.txt
  • search /home foo.txt

Frage 2

Frage
Which function does a shell program server?
Antworten
  • It receives user commands and executes them
  • It is responsible for logging a user into the system
  • It is responsible for establishing a connection to another computer
  • It provides a graphical environment

Frage 3

Frage
The output of the program date should be saved in the variable actdat. What is the correct statement?
Antworten
  • Actdat='date'
  • Date | acdat
  • Set actdat='date'
  • Actdat=date

Frage 4

Frage
Which of the following statements may be used to access the second command line argument to a script?
Antworten
  • "$1"
  • "$2"
  • '$2'
  • $1

Frage 5

Frage
Which command will display running process information in realtime?
Antworten
  • ps current
  • top
  • show current
  • Process

Frage 6

Frage
Which of the following file systems is most commonly used for Linux distributions?
Antworten
  • NTFS
  • FAT32
  • ext4
  • HFS+

Frage 7

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
  • All passwords can be decrypted using the system administrator's master password
  • Users cannot change their password once it has been set

Frage 8

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, if data.txt is empty now, it must have been empty before
  • Because sort cannot sort text files, only binary files
  • Because sort detects that both files are the same

Frage 9

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

Frage 10

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 -s /user/bin/foo /home/user/foo
  • ln -sys /home/user/foo /user/bin/foo
  • ln /user/bin/foo /home/user/foo
  • ln /home/user/foo /user/bin/foo

Frage 11

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

Frage 12

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

Frage 13

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

Frage 14

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

Frage 15

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

Frage 16

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

Frage 17

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

Frage 18

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

Frage 19

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

Frage 20

Frage
Which of the following is true about open source software?
Antworten
  • Open source software is available for commercial use
  • Open source software is not for sale
  • Open source software can not be copied for free
  • The freedom to redistribute copies must include binary or executable forms of the software but not the source code.

Frage 21

Frage
What is the preferred source for the installation of new applications?
Antworten
  • The distribution's package repository
  • A CD-ROM disk
  • A retail store
  • The vendor's website

Frage 22

Frage
Which of the following is a combined audio/video interface for transmission of digital data?
Antworten
  • HDMI
  • DVD
  • VGA
  • ATI

Frage 23

Frage
Which of the following commands moves the directory ~/summer-vacation and it content to ~/vacation/2011?
Antworten
  • mv ~/summer-vacation ~/vacation/2011
  • mv -R ~/summer-vacation ~/vacation/2011
  • move -R ~/summer-vacation ~/vacation/2011
  • mv /home/summer-vacation /home/vacation/2011

Frage 24

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

Frage 25

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

Frage 26

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

Frage 27

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

Frage 28

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 29

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

Frage 30

Frage
Which of the following statements concerning the General Public License (GPL) is true?
Antworten
  • If you changed a program you received under the GPL, you must send your changes to the original author for approval
  • GPL software may never be sold for money
  • The GPL is identical to the BSD license
  • The GPL is designed to ensure that the source code of a software remains freely available

Frage 31

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 32

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

Frage 33

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

Frage 34

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

Frage 35

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

Frage 36

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 37

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 38

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 39

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 40

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

ähnlicher Inhalt

Tipps zum Erstellen von Mindmaps
max.grassl
Stochastik
barbara91
Krankenkasse Grundversicherung
Christine Zehnder
Klimawandel
raphbey
Biologie Abiturthemen 2016
katharina.boerge
Mediation
Antonia C
Machst du auch diese 10 typischen Fehler auf Deutsch?
Dilyana Hunley
Euro-FH // Zusammenfassung SOPS3
Robert Paul
Vetie Tierhaltung und -hygiene Quiz 2012
Elisabeth Tauscher
Vetie Viro 2013
Laura Sieckmann
Milchkunde 2019 - Vetie
Peter Christian Ponn