Unix Environment

Beschreibung

This quiz covers the basic Unix environment commands, as well as how to compile and run a C/C++ program.
Jared Sherrick
Quiz von Jared Sherrick, aktualisiert more than 1 year ago
Jared Sherrick
Erstellt von Jared Sherrick vor mehr als 7 Jahre
12
1

Zusammenfassung der Ressource

Frage 1

Frage
The [blank_start]cat[blank_end] command reads one or more files and prints their contents to standard output.
Antworten
  • cat
  • cd
  • pwd
  • ls

Frage 2

Frage
The [blank_start]cd[blank_end] command is built into the system shell and changes the current working directory.
Antworten
  • cd
  • ls
  • pwd
  • cat

Frage 3

Frage
The [blank_start]pwd[blank_end] command displays the full pathname of the current directory.
Antworten
  • pwd
  • cat
  • ls
  • cd

Frage 4

Frage
The [blank_start]ls[blank_end] 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.
Antworten
  • ls
  • cat
  • cd
  • pwd

Frage 5

Frage
The [blank_start]more[blank_end] 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.
Antworten
  • more
  • mkdir
  • rm
  • cat

Frage 6

Frage
The [blank_start]mv[blank_end] command allows you to move and rename files.
Antworten
  • mv
  • rm
  • mkdir
  • cd

Frage 7

Frage
The [blank_start]rm[blank_end] command allows you to delete files.
Antworten
  • rm
  • cd
  • mkdir
  • more

Frage 8

Frage
The [blank_start]rmdir[blank_end] allows you to delete any directory from your computer's pathway.
Antworten
  • rmdir
  • mkdir
  • rm
  • more

Frage 9

Frage
The [blank_start]man[blank_end] command displays the online manual pages.
Antworten
  • man
  • more
  • rmdir
  • cp

Frage 10

Frage
The [blank_start]cp[blank_end] command allows you to copy any file, and even rename it, if you so wish.
Antworten
  • cp
  • cd
  • man
  • ls

Frage 11

Frage
Is the following Unix command for compiling a file correct? g++ -o APP_example.out APP_example.cpp
Antworten
  • True
  • False

Frage 12

Frage
Assuming you have already compiled this .out file, will the following Unix command execute the .out file? /APP_example.out
Antworten
  • True
  • False
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

Orbital Mechanics
Luke Hansford
Software Processes
Nurul Aiman Abdu
Module 1: Introduction to Engineering Materials
Kyan Clay
Mathematics
rhiannonsian
AOCS - Attitude and orbit control systems
Luke Hansford
Ordinary Differential Equations
rhiannonsian
audio electronics
Lillian Mehler
Building Structures
Niat Habtemariam
communication system
Lillian Mehler
Advanced Propulsion
Luke Hansford