
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
18 questions
Database Management System
Quiz
•
12th Grade - Professi...
15 questions
IT Security Awareness 2023 Vol.2 - Room 1
Quiz
•
Professional Development
22 questions
CIW IBA Lesson 7 Vocabulary
Quiz
•
8th Grade - Professio...
20 questions
Excel untuk Pemula
Quiz
•
Professional Development
20 questions
HCI Quiz #1
Quiz
•
Professional Development
15 questions
Web Technology - Web Essentials
Quiz
•
Professional Development
19 questions
Windows Active Directory
Quiz
•
University - Professi...
20 questions
Installing and Configuring Computer Systems 2
Quiz
•
Professional Development
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
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
15 questions
LOTE_SPN2 5WEEK3 Day 2 Itinerary
Quiz
•
Professional Development
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
42 questions
LOTE_SPN2 5WEEK2 Day 4 We They Actividad 3
Quiz
•
Professional Development
6 questions
Copy of G5_U6_L3_22-23
Lesson
•
KG - Professional Dev...
20 questions
Employability Skills
Quiz
•
Professional Development