Linux Tools for Developers
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
Sandugash Sauletbekkyzy
Used 14+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1.Which command will list all files under the current directory with a .cfg extension, and then delete them?
find . -exec rm {} ';' -name "*.cfg"
find . -name "*.cfg" -exec rm {} ';'
find -exec rm {} ';' -name "*.cfg" .
find -name "*.cfg" . -exec rm {} ';'
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2.Which command will list all files and directories on the system with cfg in their name?
ls -l $(locate cfg)
find cfg
locate
locate cfg -exec ls -l {} ';'
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3.Which command will find all files and directories in the system whose name ends with cfg?
locate -r "^cfg"
locate cfg$
locate cfg
locate -r "cfg$"
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
4.Which commands can change all occurrences within a file of the string boris to natasha (Select all answers that apply)?
sed -e s:boris:natasha:g file
sed -e s/boris:natasha/g file
sed -e s\boris\natasha\g file
sed -e s/boris/natasha/g file
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5.Which command will print out all lines beginning with "X" in all files in the current directory?
grep $X *
grep "X$" *
grep "^X" *
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6. Which command is used to combine three files into a fourth file?
cat file1 file2 file3 > file4
cp file1 file2 file3 > file4
cat file1 > file2 > file3 | file4
cat file1 > file2 > file3 > file4
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
7.Which of the following commands can be used to view the last 15 lines of a file (Select all answers that apply)?
tail=15 some_file
tail +15 some_file
tail -n15 some_file
tail -15 some_file
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
Grade 13 Quiz on OS and Networks
Quiz
•
University
10 questions
UTILITY PROGRAM
Quiz
•
University
20 questions
Thiết kế trình chiếu PowerPoint (41-60)
Quiz
•
University
11 questions
Email of request
Quiz
•
12th Grade - Professi...
20 questions
DBMS Quiz
Quiz
•
University
20 questions
STS Informatika
Quiz
•
10th Grade - University
15 questions
ADB Quiz #1
Quiz
•
University
20 questions
Mid Uts IMK
Quiz
•
University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
9 questions
Principles of the United States Constitution
Interactive video
•
University
18 questions
Realidades 2 2A reflexivos
Quiz
•
7th Grade - University
10 questions
Dichotomous Key
Quiz
•
KG - University
25 questions
Integer Operations
Quiz
•
KG - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University
20 questions
SER vs ESTAR
Quiz
•
7th Grade - University
