1. Use this redirection symbol to write to standard error: A) 101 > (\'101\' for
ID: 3714488 • Letter: 1
Question
1.
Use this redirection symbol to write to standard error:
A) 101 > ('101' for binary errors since all errors in Linux are binary)
B) e >
C) output > error
D) 2>
E) error >
2.
The following character is used to separate COMMANDS on the same line:
A) ;
B) '
C) *
D) {}
E) "
3.
The following command will create how many child processes? ls -lia | grep $USER | wc -c > some-file-somewhere
A) 1
B) 2
C) One Googol
D) 4
E) 3
4.
The characters && represent a logical OR condition.
A) True
B) False
5.
The following command will grep all files with the pattern baseball. grepbaseballfilename [NO SPACES]
A) True
B) False
6.
This filename matching character expands to match any ONE character.
A) *
B) >!
C) 1
D) {}
E) " "
F) >>
G) ??
H) >
I) No answer listed.
J) ?
7.
The ps command can be used to list currently running processes.
A) True
B) False
8.
Use this variable option to turn off the ability to overwrite files.
A) override
B) smash
C) noclobber
D) bang
E) reverse
9.
The following command will take you up the directory tree THREE directory levels.
A) cd . ; cd . ; cd .
B) cd ..{3}
C) cd .. ; cd ..; cd ..
D) 3cd
E) cd{3}
10.
The command touch stuff[1,2,3,4,500] will create the empty files called: stuff1 stuff2 stuff3 stuff4 stuff500
A) True
B) False
11.
The shell's job is to interpret command line instructions.
A) True
B) False
12.
The following variable represents your prompt:
A) Prompt$1
B) PS1
C) SP1
D) Linux does not use prompts.
E) C:
13.
The following command will return the CONTENTS of the variable SETDIR:
A) display -i SETDIR
B) ECHO $SETDIR
C) comm SETDIR
D) echo SETDIR
E) echo $SETDIR
14.
The character places a program in the background.
A) &&
B) ;
C) >!
D) ||
E) &
15.
If you are using Linux without graphics, you can use virtual terminals accessible through the T keys.
A) True
B) False
16.
You have vi running and you press the escape key. You then type ctrl-z. What happens to vi?
A) vi sets the noclobber variable to +o
B) You must type shift-zz instead; ctrl-z will not work correctly.
C) vi generates an error message: file not found 404
D) vi is removed from the system; you must reinstall it in order to use it again.
E) vi is placed in the background (a background process)
17.
The following command locates the file name ls:
A) which ls
B) ls ??
C) where-in-the-world-is ls
D) ls find
E) search ls
18.
You can use the unalias command to REMOVE an alias.
A) True
B) False
19.
The fg command brings the last suspended job in the foreground.
A) True
B) False
20.
The command echo today is `date` is an example of:
A) command line validation
B) command line integration
C) command line evaluation
D) command line substitution
E) This will produce an error message
Explanation / Answer
The answers which i know are highlighted in bold..
===============================================================
Use this redirection symbol to write to standard error:
A) 101 > ('101' for binary errors since all errors in Linux are binary)
B) e >
C) output > error
D) 2>
E) error >
2.
The following character is used to separate COMMANDS on the same line:
A) ;
B) '
C) *
D) {}
E) "
3.
The following command will create how many child processes? ls -lia | grep $USER | wc -c > some-file-somewhere
A) 1
B) 2
C) One Googol
D) 4
E) 3
4.
The characters && represent a logical OR condition.
A) True
B) False
5.
The following command will grep all files with the pattern baseball. grepbaseballfilename [NO SPACES]
A) True
B) False
6.
This filename matching character expands to match any ONE character.
A) *
B) >!
C) 1
D) {}
E) " "
F) >>
G) ??
H) >
I) No answer listed.
J) ?
7.
The ps command can be used to list currently running processes.
A) True
B) False
8.
Use this variable option to turn off the ability to overwrite files.
A) override
B) smash
C) noclobber
D) bang
E) reverse
9.
The following command will take you up the directory tree THREE directory levels.
A) cd . ; cd . ; cd .
B) cd ..{3}
C) cd .. ; cd ..; cd ..
D) 3cd
E) cd{3}
10.
The command touch stuff[1,2,3,4,500] will create the empty files called: stuff1 stuff2 stuff3 stuff4 stuff500
A) True
B) False
11.
The shell's job is to interpret command line instructions.
A) True
B) False
12.
The following variable represents your prompt:
A) Prompt$1
B) PS1
C) SP1
D) Linux does not use prompts.
E) C:
13.
The following command will return the CONTENTS of the variable SETDIR:
A) display -i SETDIR
B) ECHO $SETDIR
C) comm SETDIR
D) echo SETDIR
E) echo $SETDIR
14.
The character places a program in the background.
A) &&
B) ;
C) >!
D) ||
E) &
15.
If you are using Linux without graphics, you can use virtual terminals accessible through the T keys.
A) True
B) False
16.
You have vi running and you press the escape key. You then type ctrl-z. What happens to vi?
A) vi sets the noclobber variable to +o
B) You must type shift-zz instead; ctrl-z will not work correctly.
C) vi generates an error message: file not found 404
D) vi is removed from the system; you must reinstall it in order to use it again.
E) vi is placed in the background (a background process)
17.
The following command locates the file name ls:
A) which ls
B) ls ??
C) where-in-the-world-is ls
D) ls find
E) search ls
18.
You can use the unalias command to REMOVE an alias.
A) True
B) False
19.
The fg command brings the last suspended job in the foreground.
A) True
B) False
20.
The command echo today is `date` is an example of:
A) command line validation
B) command line integration
C) command line evaluation
D) command line substitution
E) This will produce an error message
===============================================================
Kindly Check and Verify Thanks..!!!
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.