vi
command
selection
Manipulation and Transformation
potporri
100
These are the three modes that you could be in.
What is command, status line and text entry.
100
This command allows you to delete the current line
What is dd
100
The command to search for a regular expression in a file
What is grep
100
Two ways to execute a script file
What is sh or chmod ugo+x and ./
100
In the vi editor, what you type in to save and quit a vi file
What is :wq
200
This mode allows you to do multiple actions using one command.
What is status line commands
200
This command will move you back one word
What is b
200
Used to retrieve fields (columns) from a file
What is cut
200
The command that could be used to associate lines in two files based on a common field
What is join
200
a type of record where : separates the fields
What is a variable length record
300
This mode is the default start up for the vi editor.
What is command mode
300
To delete a letter use this key
What is x
300
Removes duplicate lines from a file
What is uniq
300
Two ways to create an empty file
What is touch and >newfile
300
The three file descriptors used to redirect to that device
What are std in 0<, std out 1> and std error 2>
400
This mode executes at the location of the cursor.
What is command mode.
400
To go to the beginning of the last line
What is G
400
shows the number of lines in a file
What is wc -l
400
command used to change all lower case letters to upper case letters
What is tr [a-z] [A-Z]
400
When you type grep expression *.html, the * is a special character with an extra element of control. The * is _____
What is a meta character
500
What symbol changes from command line to status line mode.
What is colon :
500
The $
What is the symbol that moves the cursor to the end of the current line
500
compares two sorted files and shows the differences using columns
What is comm
500
command used to replace all the words "Unix" with "Linux" in the file myText
What is sed -n s/Unix/Linux/ myText
500
What you type to leave vi temporarily and show the current directory listing
What is :!ls
Continue
ESC
Reveal Correct Response
Spacebar
M
e
n
u
Team 1
0
+
-
Chapter3and4
No teams
1 team
2 teams
3 teams
4 teams
5 teams
6 teams
7 teams
8 teams
9 teams
10 teams
Custom
Press
F11
Select menu option
View > Enter Fullscreen
for full-screen mode
Edit
•
Print
•
Download
•
Embed
•
Share
JeopardyLabs