¡GoConqr estrena diseño! Cuéntanos qué te parece.

Test

Common Shell Environment Variables

Nasir Nawaz 20 preguntas

Hacer el test

Preguntas del test (20)

  1. 1This contains the full pathname of the bash command. This is usually /bin/
    bash.
    1. ABASH
    2. BOLDPWD
    3. CPPID
  2. 2This is a number representing the current version of the bash command.
    1. ABASH_VERSION
    2. BTMOUT
    3. CVersion
  3. 3This is the effective user ID number of the current user. It is assigned when
    the shell starts, based on the user’s entry in the /etc/passwd file.
    1. AEUID
    2. BUID
    3. CUser_ID
  4. 4If set, this variable indicates the text editor used by the fc command to edit
    history commands. If this variable isn’t set, the vi command is used.
    1. AFCEDIT
    2. BEDITOR
    3. CCMD_EDIT
  5. 5This is the location of your history fi le. It is typically located at $HOME/.
    bash_history
    1. AHISTFILE
    2. BHISTFILESIZE
    3. CHISTORY_SIZE
  6. 6This returns the number of the current command in the history list.
    1. AHISTCMD
    2. BHISNUM
    3. CHIST
  7. 7This is your home directory. It is your current working directory each time
    you log in or type the cd command with any options.
    1. AHOME
    2. BDIRECTORY
    3. CUSERHOME
  8. 8This is a value that describes the computer architecture on which the Linux
    system is running. For Intel-compatible PCs, the value is i386, i486, i586,
    i686, or something like i386-linux. For AMD 64-bit machines, the value is
    x86_64.
    1. AHOSTTYPE
    2. BHARDWARE
    3. CHOST_INFO
  9. 9This is the location of your mailbox fi le. The fi le is typically your username in
    the /var/spool/mail directory.
    1. AMAIL
    2. BID
    3. CADDRESS
  10. 10This is the directory that was the working directory before you changed to
    the current working directory.
    1. AOLDPWD
    2. BPREVIOUS_PWD
    3. CLASTPWD

Información

Descripción
The shell itself stores information that may be useful to the user’s shell session in what are called variables. Examples of variables include $SHELL (which identifi es the shell you are using), $PS1 (which defi nes your shell prompt), and $MAIL (which identifi es the location of your mailbox).
Idioma
English
Visitas
60
Valoración
Aún sin valoraciones
Valora este test
Valora este test

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?