Unix Environment

Descripción

This quiz covers the basic Unix environment commands, as well as how to compile and run a C/C++ program.
Jared Sherrick
Test por Jared Sherrick, actualizado hace más de 1 año
Jared Sherrick
Creado por Jared Sherrick hace casi 8 años
16
1

Resumen del Recurso

Pregunta 1

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

Pregunta 2

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

Pregunta 3

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

Pregunta 4

Pregunta
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.
Respuesta
  • ls
  • cat
  • cd
  • pwd

Pregunta 5

Pregunta
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.
Respuesta
  • more
  • mkdir
  • rm
  • cat

Pregunta 6

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

Pregunta 7

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

Pregunta 8

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

Pregunta 9

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

Pregunta 10

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

Pregunta 11

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

Pregunta 12

Pregunta
Assuming you have already compiled this .out file, will the following Unix command execute the .out file? /APP_example.out
Respuesta
  • True
  • False
Mostrar resumen completo Ocultar resumen completo

Similar

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