Gestalte GoConqr mit. Was sollen wir als Nächstes hinzufügen?

Quiz

LPIC 101-500 = test 8

David OkOk 60 Fragen

Quiz starten

Dieses Quiz hat ein Zeitlimit und öffnet sich deshalb im gewohnten Player.

Fragen in diesem Quiz (60)

  1. 11.- Which symbol is used for command substitution?
    1. A`command` or $(command)
    2. B${command}
    3. C%command
    4. D#command
  2. 22.- What does read var do?
    1. ATakes user input into variable var
    2. BDisplays a variable
    3. CDeletes a variable
    4. DReads from a file
  3. 33.- What is #!/bin/sh used for?
    1. ASpecifies script interpreter as Bourne shell
    2. BComments out line
    3. CImports shell library
    4. DDisplays system shell
  4. 44.- What does basename /home/user/file.txt return?
    1. Afile.txt
    2. B/home/user
    3. C/
    4. Duser
  5. 55.- What does dirname /home/user/file.txt return?
    1. A/home/user
    2. Bfile.txt
    3. Cuser
    4. D/
  6. 66.- Which variable stores the user’s home directory?
    1. A$HOME
    2. B$PATH
    3. C$PWD
    4. D$USER
  7. 77.- Which variable contains the username?
    1. A$USER
    2. B$LOGNAME
    3. C$USERNAME
    4. DAll of the above
  8. 88.- What does set without arguments do?
    1. ALists all shell variables and functions
    2. BUnsets all variables
    3. CShows aliases only
    4. DDisplays PATH
  9. 99.- How do you disable command history temporarily?
    1. Aset +o history
    2. Bunset HISTFILE
    3. Chistory -d
    4. DBoth A and B
  10. 1010.- What does history -c do?
    1. AClears the command history
    2. BCopies the history
    3. CDisplays the history count
    4. DCompresses the history file

Informationen

Beschreibung
LPIC 101-500
Sprache
Español
Aufrufe
0
Schlagwörter
lpic 101-500administrador de sistemas
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Mehr zu Command Line Basics and Linux Commands

Feedback

Worum geht es?

Was sollen wir als Nächstes hinzufügen?