Terminal Commands

Descrição

Quizes you on the commands used in bash.
Cameron James
Quiz por Cameron James, atualizado more than 1 year ago
Cameron James
Criado por Cameron James mais de 7 anos atrás
12
0

Resumo de Recurso

Questão 1

Questão
xargs
Responda
  • execute arguments
  • print whole file
  • clear window

Questão 2

Questão
cat
Responda
  • print whole file
  • clear window
  • print working directory

Questão 3

Questão
clear
Responda
  • print working directory
  • display computer's network name
  • clear window pane

Questão 4

Questão
pwd
Responda
  • print working directory
  • print whole file
  • make directory

Questão 5

Questão
hostname
Responda
  • change directory
  • list directory
  • display computer's network name

Questão 6

Questão
mkdir
Responda
  • make directory
  • exit terminal
  • revert to second command

Questão 7

Questão
cd
Responda
  • change directory
  • read cd
  • control delete

Questão 8

Questão
ls
Responda
  • ls commands (lists commands)
  • find support for list (list support)
  • list file contents (list directory)

Questão 9

Questão
rmdir
Responda
  • remove connected drive (disconnects drive)
  • remove directory (deletes folder)
  • REM drive

Questão 10

Questão
pushd
Responda
  • push directory (push is a function that can add one or more elements to the end of an array).
  • PU shutdown
  • Pushes a line of code down one step down in the chain of command

Questão 11

Questão
popd
Responda
  • pop directory (removes an element from an array)
  • erase what you've just typed
  • clear screen ("pop" desktop)

Questão 12

Questão
cd ..
Responda
  • move back in directory (move back to next file level)
  • delete file
  • search for file _______

Questão 13

Questão
Ctrl - C
Responda
  • Copy [line of text]
  • Cut [line of text]
  • Stop (break) command

Questão 14

Questão
cp
Responda
  • copy and paste
  • copy file or directory
  • go to control panel

Questão 15

Questão
mv
Responda
  • move file or directory
  • copy file or directory
  • clear window

Questão 16

Questão
less
Responda
  • page through file or directory
  • reduce file
  • reduce terminal screen

Questão 17

Questão
What is a prompt?
Responda
  • Directions that appear on the terminal screen. (Type "help" to display them.)
  • The portion of terminal text that shows the terminal's readiness to perform a command. (Default OSX is the User's file. Mine is currently ">".)
  • A series of directions in bash that tells the computer to perform a certain function.

Questão 18

Questão
exit
Responda
  • exit folder [...]
  • exit program [...]
  • exit terminal

Questão 19

Questão
export
Responda
  • export/set a new environmental variable
  • make new directory
  • export files to a new location

Questão 20

Questão
echo
Responda
  • print (display) arguments (repeats what you type in)
  • pings the nearest network
  • says the words you type in

Questão 21

Questão
env
Responda
  • Look at your environment
  • Create an envelope for the contents you just types
  • Create new environment

Questão 22

Questão
apropos
Responda
  • Searches the manual pages for a keyword or regular expression.
  • Reads the manual page.
  • Exits manual.

Questão 23

Questão
man
Responda
  • Read manual page.
  • Manage files.
  • Print manual.

Questão 24

Questão
grep
Responda
  • global regular expression print
  • global random expression print
  • general regular expression print

Questão 25

Questão
sudo
Responda
  • Create temporary file.
  • Create false file.
  • Super User Do (allows permitted user to execute commands as another user).

Questão 26

Questão
find
Responda
  • find [command]
  • find folder
  • find [any text]

Semelhante

Code Challenge Flow Chart
Charlotte Hilton
Flvs foundations of programming dba 2
mariaha vassar
psycholgoy as level topic 2 - memory
Talya Hambling
EDEXCEL IGCSE (9-1) COMPUTER SCIENCE
CreativeKai 03
Chapter 10: Medical coding
Kelly Martin
Basic Python - Strings
Rebecca Noel
Our Story
Natalia R
Coding Test!
vapetrop
IB Topic 2 Lesson Terminal Velocity
Jeffrey Piggott
HTML Tags Mindmap
Julia C.Wozniak