null
US
Sign In
Sign Up for Free
Sign Up
We have detected that Javascript is not enabled in your browser. The dynamic nature of our site means that Javascript must be enabled to function properly. Please read our
terms and conditions
for more information.
Next up
Copy and Edit
You need to log in to complete this action!
Register for Free
6292696
Terminal Commands
Description
Quizes you on the commands used in bash.
No tags specified
terminal
osx
bash
coding
coding
Quiz by
Cameron James
, updated more than 1 year ago
More
Less
Created by
Cameron James
about 8 years ago
13
0
0
Resource summary
Question 1
Question
xargs
Answer
execute arguments
print whole file
clear window
Question 2
Question
cat
Answer
print whole file
clear window
print working directory
Question 3
Question
clear
Answer
print working directory
display computer's network name
clear window pane
Question 4
Question
pwd
Answer
print working directory
print whole file
make directory
Question 5
Question
hostname
Answer
change directory
list directory
display computer's network name
Question 6
Question
mkdir
Answer
make directory
exit terminal
revert to second command
Question 7
Question
cd
Answer
change directory
read cd
control delete
Question 8
Question
ls
Answer
ls commands (lists commands)
find support for list (list support)
list file contents (list directory)
Question 9
Question
rmdir
Answer
remove connected drive (disconnects drive)
remove directory (deletes folder)
REM drive
Question 10
Question
pushd
Answer
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
Question 11
Question
popd
Answer
pop directory (removes an element from an array)
erase what you've just typed
clear screen ("pop" desktop)
Question 12
Question
cd ..
Answer
move back in directory (move back to next file level)
delete file
search for file _______
Question 13
Question
Ctrl - C
Answer
Copy [line of text]
Cut [line of text]
Stop (break) command
Question 14
Question
cp
Answer
copy and paste
copy file or directory
go to control panel
Question 15
Question
mv
Answer
move file or directory
copy file or directory
clear window
Question 16
Question
less
Answer
page through file or directory
reduce file
reduce terminal screen
Question 17
Question
What is a prompt?
Answer
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.
Question 18
Question
exit
Answer
exit folder [...]
exit program [...]
exit terminal
Question 19
Question
export
Answer
export/set a new environmental variable
make new directory
export files to a new location
Question 20
Question
echo
Answer
print (display) arguments (repeats what you type in)
pings the nearest network
says the words you type in
Question 21
Question
env
Answer
Look at your environment
Create an envelope for the contents you just types
Create new environment
Question 22
Question
apropos
Answer
Searches the manual pages for a keyword or regular expression.
Reads the manual page.
Exits manual.
Question 23
Question
man
Answer
Read manual page.
Manage files.
Print manual.
Question 24
Question
grep
Answer
global regular expression print
global random expression print
general regular expression print
Question 25
Question
sudo
Answer
Create temporary file.
Create false file.
Super User Do (allows permitted user to execute commands as another user).
Question 26
Question
find
Answer
find [command]
find folder
find [any text]
Show full summary
Hide full summary
Want to create your own
Quizzes
for
free
with GoConqr?
Learn more
.
Similar
Code Challenge Flow Chart
Charlotte Hilton
Flvs foundations of programming dba 2
mariaha vassar
C++
Rob Newman
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
Browse Library