Unix Environment

Descrição

This quiz covers the basic Unix environment commands, as well as how to compile and run a C/C++ program.
Jared Sherrick
Quiz por Jared Sherrick, atualizado more than 1 year ago
Jared Sherrick
Criado por Jared Sherrick quase 8 anos atrás
16
1

Resumo de Recurso

Questão 1

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

Questão 2

Questão
The [blank_start]cd[blank_end] command is built into the system shell and changes the current working directory.
Responda
  • cd
  • ls
  • pwd
  • cat

Questão 3

Questão
The [blank_start]pwd[blank_end] command displays the full pathname of the current directory.
Responda
  • pwd
  • cat
  • ls
  • cd

Questão 4

Questão
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.
Responda
  • ls
  • cat
  • cd
  • pwd

Questão 5

Questão
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.
Responda
  • more
  • mkdir
  • rm
  • cat

Questão 6

Questão
The [blank_start]mv[blank_end] command allows you to move and rename files.
Responda
  • mv
  • rm
  • mkdir
  • cd

Questão 7

Questão
The [blank_start]rm[blank_end] command allows you to delete files.
Responda
  • rm
  • cd
  • mkdir
  • more

Questão 8

Questão
The [blank_start]rmdir[blank_end] allows you to delete any directory from your computer's pathway.
Responda
  • rmdir
  • mkdir
  • rm
  • more

Questão 9

Questão
The [blank_start]man[blank_end] command displays the online manual pages.
Responda
  • man
  • more
  • rmdir
  • cp

Questão 10

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

Questão 11

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

Questão 12

Questão
Assuming you have already compiled this .out file, will the following Unix command execute the .out file? /APP_example.out
Responda
  • True
  • False

Semelhante

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