Cameron James
Quiz by , created more than 1 year ago

Quizes you on the commands used in bash.

14
0
0
Cameron James
Created by Cameron James over 8 years ago
Close

Terminal Commands

Question 1 of 26

2

xargs

Select one of the following:

  • execute arguments

  • print whole file

  • clear window

Explanation

Question 2 of 26

2

cat

Select one of the following:

  • print whole file

  • clear window

  • print working directory

Explanation

Question 3 of 26

2

clear

Select one of the following:

  • print working directory

  • display computer's network name

  • clear window pane

Explanation

Question 4 of 26

2

pwd

Select one of the following:

  • print working directory

  • print whole file

  • make directory

Explanation

Question 5 of 26

2

hostname

Select one of the following:

  • change directory

  • list directory

  • display computer's network name

Explanation

Question 6 of 26

2

mkdir

Select one of the following:

  • make directory

  • exit terminal

  • revert to second command

Explanation

Question 7 of 26

2

cd

Select one of the following:

  • change directory

  • read cd

  • control delete

Explanation

Question 8 of 26

2

ls

Select one of the following:

  • ls commands (lists commands)

  • find support for list (list support)

  • list file contents (list directory)

Explanation

Question 9 of 26

2

rmdir

Select one of the following:

  • remove connected drive (disconnects drive)

  • remove directory (deletes folder)

  • REM drive

Explanation

Question 10 of 26

2

pushd

Select one of the following:

  • 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

Explanation

Question 11 of 26

2

popd

Select one of the following:

  • pop directory (removes an element from an array)

  • erase what you've just typed

  • clear screen ("pop" desktop)

Explanation

Question 12 of 26

2

cd ..

Select one of the following:

  • move back in directory (move back to next file level)

  • delete file

  • search for file _______

Explanation

Question 13 of 26

2

Ctrl - C

Select one of the following:

  • Copy [line of text]

  • Cut [line of text]

  • Stop (break) command

Explanation

Question 14 of 26

2

cp

Select one of the following:

  • copy and paste

  • copy file or directory

  • go to control panel

Explanation

Question 15 of 26

2

mv

Select one of the following:

  • move file or directory

  • copy file or directory

  • clear window

Explanation

Question 16 of 26

2

less

Select one of the following:

  • page through file or directory

  • reduce file

  • reduce terminal screen

Explanation

Question 17 of 26

2

What is a prompt?

Select one of the following:

  • 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.

Explanation

Question 18 of 26

2

exit

Select one of the following:

  • exit folder [...]

  • exit program [...]

  • exit terminal

Explanation

Question 19 of 26

2

export

Select one of the following:

  • export/set a new environmental variable

  • make new directory

  • export files to a new location

Explanation

Question 20 of 26

2

echo

Select one of the following:

  • print (display) arguments (repeats what you type in)

  • pings the nearest network

  • says the words you type in

Explanation

Question 21 of 26

2

env

Select one of the following:

  • Look at your environment

  • Create an envelope for the contents you just types

  • Create new environment

Explanation

Question 22 of 26

2

apropos

Select one of the following:

  • Searches the manual pages for a keyword or regular expression.

  • Reads the manual page.

  • Exits manual.

Explanation

Question 23 of 26

2

man

Select one of the following:

  • Read manual page.

  • Manage files.

  • Print manual.

Explanation

Question 24 of 26

2

grep

Select one of the following:

  • global regular expression print

  • global random expression print

  • general regular expression print

Explanation

Question 25 of 26

2

sudo

Select one of the following:

  • Create temporary file.

  • Create false file.

  • Super User Do (allows permitted user to execute commands as another user).

Explanation

Question 26 of 26

2

find

Select one of the following:

  • find [command]

  • find folder

  • find [any text]

Explanation