Terminal Commands

Beschreibung

Quizes you on the commands used in bash.
Cameron James
Quiz von Cameron James, aktualisiert more than 1 year ago
Cameron James
Erstellt von Cameron James vor fast 8 Jahre
12
0

Zusammenfassung der Ressource

Frage 1

Frage
xargs
Antworten
  • execute arguments
  • print whole file
  • clear window

Frage 2

Frage
cat
Antworten
  • print whole file
  • clear window
  • print working directory

Frage 3

Frage
clear
Antworten
  • print working directory
  • display computer's network name
  • clear window pane

Frage 4

Frage
pwd
Antworten
  • print working directory
  • print whole file
  • make directory

Frage 5

Frage
hostname
Antworten
  • change directory
  • list directory
  • display computer's network name

Frage 6

Frage
mkdir
Antworten
  • make directory
  • exit terminal
  • revert to second command

Frage 7

Frage
cd
Antworten
  • change directory
  • read cd
  • control delete

Frage 8

Frage
ls
Antworten
  • ls commands (lists commands)
  • find support for list (list support)
  • list file contents (list directory)

Frage 9

Frage
rmdir
Antworten
  • remove connected drive (disconnects drive)
  • remove directory (deletes folder)
  • REM drive

Frage 10

Frage
pushd
Antworten
  • 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

Frage 11

Frage
popd
Antworten
  • pop directory (removes an element from an array)
  • erase what you've just typed
  • clear screen ("pop" desktop)

Frage 12

Frage
cd ..
Antworten
  • move back in directory (move back to next file level)
  • delete file
  • search for file _______

Frage 13

Frage
Ctrl - C
Antworten
  • Copy [line of text]
  • Cut [line of text]
  • Stop (break) command

Frage 14

Frage
cp
Antworten
  • copy and paste
  • copy file or directory
  • go to control panel

Frage 15

Frage
mv
Antworten
  • move file or directory
  • copy file or directory
  • clear window

Frage 16

Frage
less
Antworten
  • page through file or directory
  • reduce file
  • reduce terminal screen

Frage 17

Frage
What is a prompt?
Antworten
  • 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.

Frage 18

Frage
exit
Antworten
  • exit folder [...]
  • exit program [...]
  • exit terminal

Frage 19

Frage
export
Antworten
  • export/set a new environmental variable
  • make new directory
  • export files to a new location

Frage 20

Frage
echo
Antworten
  • print (display) arguments (repeats what you type in)
  • pings the nearest network
  • says the words you type in

Frage 21

Frage
env
Antworten
  • Look at your environment
  • Create an envelope for the contents you just types
  • Create new environment

Frage 22

Frage
apropos
Antworten
  • Searches the manual pages for a keyword or regular expression.
  • Reads the manual page.
  • Exits manual.

Frage 23

Frage
man
Antworten
  • Read manual page.
  • Manage files.
  • Print manual.

Frage 24

Frage
grep
Antworten
  • global regular expression print
  • global random expression print
  • general regular expression print

Frage 25

Frage
sudo
Antworten
  • Create temporary file.
  • Create false file.
  • Super User Do (allows permitted user to execute commands as another user).

Frage 26

Frage
find
Antworten
  • find [command]
  • find folder
  • find [any text]
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

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