Linux Tools for Developers

Quiz
•
Computers
•
University
•
Medium
Sandugash Sauletbekkyzy
Used 14+ times
FREE Resource
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
Similar Resources on Wayground
20 questions
Day 10 - ONLINE TEST - PL03 PYTHON PROGRAMMING

Quiz
•
University
10 questions
Basic Linux Commands

Quiz
•
University
10 questions
UTILITY PROGRAM

Quiz
•
University
20 questions
Python Functions and File Operations Quiz

Quiz
•
University
10 questions
Assesment Akhir ( Sumatif)

Quiz
•
University
10 questions
PHP MySQL

Quiz
•
University
19 questions
Section 9: Networking (21-25)

Quiz
•
University
20 questions
NTEC 151 Midterm Review

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University