
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
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
Post-Test Media Pembelajaran
Quiz
•
Professional Development
15 questions
Fellowship program 2021
Quiz
•
University - Professi...
20 questions
PRE TEST (B) - Product Link & TELEMATICS
Quiz
•
University - Professi...
15 questions
PL/SQL Programming
Quiz
•
Professional Development
18 questions
CIW IBA Lesson 5 Vocabulary
Quiz
•
8th Grade - Professio...
15 questions
Powerpoint
Quiz
•
6th Grade - Professio...
15 questions
Network Plus Pre Assessment
Quiz
•
Professional Development
15 questions
KOMPUTER AKUNTANSI KLS XII-1
Quiz
•
Professional Development
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
