
Ubuntu Linux- Working with Files (Text & Directory)
Authored by Azaxole Mbingeleli
Computers
Professional Development
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
15 questions
Security+ Study Guide-01 Mastering Security Basics
Quiz
•
Professional Development
24 questions
DATATYPES - INPUT/OUTPUT - OPERATORS
Quiz
•
Professional Development
15 questions
Python to Access Data Quiz
Quiz
•
Professional Development
15 questions
Sec+ Quiz - 1
Quiz
•
Professional Development
15 questions
android
Quiz
•
Professional Development
20 questions
7 сынып 1 ші тарау
Quiz
•
Professional Development
15 questions
Intro to Transformation
Quiz
•
Professional Development
21 questions
CPA MS-Office Hotkeys Quiz
Quiz
•
8th Grade - Professio...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
12 questions
Mardi Gras Trivia
Quiz
•
Professional Development
7 questions
Copy of G5_U5_L14_22-23
Lesson
•
KG - Professional Dev...
12 questions
Unit 5: Puerto Rico W1
Quiz
•
Professional Development
42 questions
LOTE_SPN2 5WEEK2 Day 4 We They Actividad 3
Quiz
•
Professional Development
15 questions
Balance Equations Hangers
Quiz
•
Professional Development
31 questions
Servsafe Food Manager Practice Test 2021- Part 1
Quiz
•
9th Grade - Professio...