
Ubuntu Linux- Working with Files (Text & Directory)
Quiz
•
Computers
•
Professional Development
•
Practice Problem
•
Hard
Azaxole Mbingeleli
Used 3+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is used to create an empty file in Ubuntu Linux?
mkdir
cat
touch
nano
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the cat command do when used with a filename?
Deletes the file
Displays the contents of the file
Edits the file in terminal
Creates a new directory
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you save changes and exit in the vi editor?
CTRL + X, then Y, then Enter
:wq
CTRL + S
ALT + F4
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command can be used to create and write text to a file in one step?
cat filename
touch filename
echo "Hello World" > filename
mv filename
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the nano command do?
Opens a file in a simple text editor
Copies a file to another directory
Creates a new directory
Compiles a program
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a new directory in Ubuntu Linux?
mkdir <directory_name>
touch <directory_name>
nano <directory_name>
cd <directory_name>
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following commands appends text to an existing file without overwriting its content?
echo "Hello" > file.txt
echo "Hello" >> file.txt
cat file.txt
touch file.txt
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
20 questions
File Extensions
Quiz
•
9th Grade - Professio...
17 questions
SC-900_Módulo 2
Quiz
•
Professional Development
15 questions
Chapter 8 - Cloud Computing
Quiz
•
Professional Development
15 questions
Pretest Latihan Soal Excel
Quiz
•
Professional Development
16 questions
L4 Ôn tập HK 2 - 22-23
Quiz
•
Professional Development
20 questions
Python
Quiz
•
Professional Development
20 questions
MS Excel Basics
Quiz
•
5th Grade - Professio...
20 questions
MTA - Mobility and Devices Fundamentals Part 1
Quiz
•
10th Grade - Professi...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Computers
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
100 questions
Screening Test Customer Service
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
10 questions
Reading a ruler in Inches
Quiz
•
4th Grade - Professio...
16 questions
Parallel, Perpendicular, and Intersecting Lines
Quiz
•
KG - Professional Dev...
12 questions
Valentines Day Trivia
Quiz
•
Professional Development
