Jared Sherrick
Quiz von , erstellt am more than 1 year ago

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
Erstellt von Jared Sherrick vor mehr als 7 Jahre
Schließen

Unix Environment

Frage 1 von 12

1

Wähle von der Aufklappliste, um den Text zu vervollständigen.

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

Erklärung

Frage 2 von 12

1

Wähle von der Aufklappliste, um den Text zu vervollständigen.

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

Erklärung

Frage 3 von 12

1

Wähle von der Aufklappliste, um den Text zu vervollständigen.

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

Erklärung

Frage 4 von 12

1

Wähle von der Aufklappliste, um den Text zu vervollständigen.

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.

Erklärung

Frage 5 von 12

1

Wähle von der Aufklappliste, um den Text zu vervollständigen.

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.

Erklärung

Frage 6 von 12

1

Wähle von der Aufklappliste, um den Text zu vervollständigen.

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

Erklärung

Frage 7 von 12

1

Wähle von der Aufklappliste, um den Text zu vervollständigen.

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

Erklärung

Frage 8 von 12

1

Wähle von der Aufklappliste, um den Text zu vervollständigen.

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

Erklärung

Frage 9 von 12

1

Wähle von der Aufklappliste, um den Text zu vervollständigen.

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

Erklärung

Frage 10 von 12

1

Wähle von der Aufklappliste, um den Text zu vervollständigen.

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

Erklärung

Frage 11 von 12

1

Is the following Unix command for compiling a file correct?

g++ -o APP_example.out APP_example.cpp

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 12 von 12

1

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

/APP_example.out

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung