You are on page 1of 3

Quiz

Which statement describes what the following bash command does: command1 | command2
(Select one)

This construct states that command2 will execute only if command1 returns an error.

The output from command1 is used as input for command2. 

The output from command2 is taken as the input for command1.

This construct states that if command1 generates any errors that command2 will
process those error messages.

This statement will always generate an error because it does not employ valid syntax.

You have used 1 of 3 attempts

Which commands could you use to determine the proper syntax for the cp command? (Select
all that apply)

man cp

help cp

cp --help

doc -cp

display cp

https://suse-partner-lms.hastexo.com/courses/course-v1:SUSE+acad_sle201v15+2020_3/courseware/e05c2ed501184ce397be47eecdc17d3b/201760a258f6… 1/3
info --cp help

info cp

You have used 1 of 3 attempts

What does the following command allow you to do? alias c=”clear” (Select one)

You can type clear to run the c command.

It allows you to rename the clear command to just c and then deletes the clear
command.

It launches a second Login Shell and allows you to rename the clear command to just
c.

You can type c to run the clear command. 

Nothing, since there is not a command named alias.

You have used 1 of 3 attempts

Which keystroke can be used to auto-complete a command? (Select one)

Tab 

Shift

Shift + Alt + T

Ctrl + ZZ

Tab + Shift

https://suse-partner-lms.hastexo.com/courses/course-v1:SUSE+acad_sle201v15+2020_3/courseware/e05c2ed501184ce397be47eecdc17d3b/201760a258f6… 2/3
Alt + Tab

You have used 1 of 3 attempts

Which shell command will display a detailed listing of the /etc directory? (Select one)

dir –d /etc

list /etc

ls –l /etc 

ls ~/etc

dir –d ~/etc

You have used 1 of 3 attempts

https://suse-partner-lms.hastexo.com/courses/course-v1:SUSE+acad_sle201v15+2020_3/courseware/e05c2ed501184ce397be47eecdc17d3b/201760a258f6… 3/3

You might also like