Jared Sherrick
Test por , creado hace más de 1 año

This quiz covers the basic Unix environment commands, as well as how to compile and run a C/C++ program.

12
1
0
Jared Sherrick
Creado por Jared Sherrick hace más de 7 años
Cerrar

Unix Environment

Pregunta 1 de 12

1

Selecciona la opción correcta del menú desplegable para completar el texto.

The ( cat, cd, pwd, ls ) command reads one or more files and prints their contents to standard output.

Explicación

Pregunta 2 de 12

1

Selecciona la opción correcta del menú desplegable para completar el texto.

The ( cd, ls, pwd, cat ) command is built into the system shell and changes the current working directory.

Explicación

Pregunta 3 de 12

1

Selecciona la opción correcta del menú desplegable para completar el texto.

The ( pwd, cat, ls, cd ) command displays the full pathname of the current directory.

Explicación

Pregunta 4 de 12

1

Selecciona la opción correcta del menú desplegable para completar el texto.

The ( ls, cat, cd, pwd ) command lists all files in the directory that match the name. If name is left blank, it will list all of the files in the directory.

Explicación

Pregunta 5 de 12

1

Selecciona la opción correcta del menú desplegable para completar el texto.

The ( more, mkdir, rm, cat ) command displays the file called name in the screen. The RETURN key displays the next line of the file. The spacebar displays the next screen of the file.

Explicación

Pregunta 6 de 12

1

Selecciona la opción correcta del menú desplegable para completar el texto.

The ( mv, rm, mkdir, cd ) command allows you to move and rename files.

Explicación

Pregunta 7 de 12

1

Selecciona la opción correcta del menú desplegable para completar el texto.

The ( rm, cd, mkdir, more ) command allows you to delete files.

Explicación

Pregunta 8 de 12

1

Selecciona la opción correcta del menú desplegable para completar el texto.

The ( rmdir, mkdir, rm, more ) allows you to delete any directory from your computer's pathway.

Explicación

Pregunta 9 de 12

1

Selecciona la opción correcta del menú desplegable para completar el texto.

The ( man, more, rmdir, cp ) command displays the online manual pages.

Explicación

Pregunta 10 de 12

1

Selecciona la opción correcta del menú desplegable para completar el texto.

The ( cp, cd, man, ls ) command allows you to copy any file, and even rename it, if you so wish.

Explicación

Pregunta 11 de 12

1

Is the following Unix command for compiling a file correct?

g++ -o APP_example.out APP_example.cpp

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 12 de 12

1

Assuming you have already compiled this .out file, will the following Unix command execute the .out file?

/APP_example.out

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación