Ayúdanos a dar forma a GoConqr. ¿Qué deberíamos añadir?

Test

Linux Test 1

dbm 39 preguntas 4,0 (1 valoración)

Hacer el test

Preguntas del test (39)

  1. 1Given the command:

    find /proc/* 2>/dev/null | grep sda1

    What is the special significance of the /dev/null portion of the command?
    1. A/dev/null is the name of the fine to which standard error is redirected and saved
    2. B/dev/null is a special device file that can be used to discard output. In this case the redirected standard error output
    3. C/dev/null is placeholder that must be replaced before the command can be used
    4. D/dev/null causes the redirect to be ignored, the output is stll sent to the screen
  2. 2What is the significance of the following line from a shell script,
    #! /bin/bash
    when it is the first line of the script?
    1. Ait is just a comment since it begins with the # symbol
    2. BIt tells the invoking shell to run the script using a new bash shell
    3. Cit tells the invoking shell to replace itself with a new bash shell to run the script
    4. Dit tells the invoking shell to run the script using any shell except bash
  3. 3What is a shell script?
    1. AA program consisting of built-in and external command, variables, parameters, and comments
    2. BA program written in C
    3. CA txt file containing the source code of a web page
    4. DProgram consisting of built-in and external command only; other elements such as variables, parameters and comments are not allowed
  4. 4When it is necessary to reload a startup file (e.g. /etc/profile) for some reason, which of the following commands would be used?
    1. Aboth source /etc/profile AND . /etc/profile will perform the reload
    2. Bneither source /etc/profile AND . /etc/profile will perform the reload
    3. Csource /etc/profile
    4. D. /etc/profile
  5. 5When a command is invoked with the exec building command, where does the invoked command execute?
    1. AThe invoked command replaces the shell in the current process and executes there
    2. BThe invoked command executes in a new process in the background
    3. CThe invoked command executes in a separate process
    4. DThe invoked command immediately fails
  6. 6When logging on to a system interactively, in what order are the common startup files called?
    1. A/etc/profile, ~/.bash_profile, ~/.bashrc, /etc/bashrc
    2. B/etc/profile, ~/.bashrc, ~/.bash_profile, /etc/profile
    3. C~/.bash_profile,~/.bashrc, /etc/bashrc, /etc/profile
    4. D~/.bash_profile, /etc/bashrc, /etc/profile, ~/.bashrc,
  7. 7Given the command

    find /proc/* 2>/dev/null |sed -n -e '/sda1/p: d:'

    which commands standard error will be redirected?
    1. Afind
    2. Bproc
    3. Csed
    4. Dsda1
  8. 8Within a shell script, what symbol pair can be used to obtain all of the parameters passed to the shell script except the first?
    1. A$@
    2. B$0
    3. C$z
    4. D$&
  9. 9What is the purpose of the build-in jobs command?
    1. ATo display a list of the child process of the current shell that have not completed
    2. BTo list every running process on a system
    3. CTo list every process for the current user
    4. DTo display a list of every child process ever launched from the current shell
  10. 10Which shell program is most commonly used on Linux systems?
    1. Abash
    2. Bksh
    3. Csh
    4. Dtsh

Información

Descripción
Intermediate Linux Test 1 Practice Quiz
Autor
dbm
Idioma
English
Visitas
122
Etiquetas
linuxtestoneintermediate linux
Valoración
4,0 de 5 · 1 valoración
Valora este test
Valora este test

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué deberíamos añadir?