Ubuntu Linux- Working with Files (Text & Directory)

Ubuntu Linux- Working with Files (Text & Directory)

Professional Development

20 Qs

quiz-placeholder

Similar activities

Java Fundamentals

Java Fundamentals

Professional Development

20 Qs

Systems Architecture GCSE

Systems Architecture GCSE

Professional Development

15 Qs

Web Technology - Web Essentials

Web Technology - Web Essentials

Professional Development

15 Qs

Installing and Configuring Computer Systems 2

Installing and Configuring Computer Systems 2

Professional Development

20 Qs

สอบกลางภาค  ม.3 ภาคเรียนที่1/65

สอบกลางภาค ม.3 ภาคเรียนที่1/65

Professional Development

20 Qs

Database Management System

Database Management System

12th Grade - Professional Development

18 Qs

KUIS ASJ KELAS XI

KUIS ASJ KELAS XI

11th Grade - Professional Development

15 Qs

Evaluacion de resultados - 1er ciclo

Evaluacion de resultados - 1er ciclo

Professional Development

20 Qs

Ubuntu Linux- Working with Files (Text & Directory)

Ubuntu Linux- Working with Files (Text & Directory)

Assessment

Quiz

Computers

Professional Development

Practice Problem

Hard

Created by

Azaxole Mbingeleli

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?