Ubuntu Linux- Working with Files (Text & Directory)

Ubuntu Linux- Working with Files (Text & Directory)

Professional Development

20 Qs

quiz-placeholder

Similar activities

Quis Freetest Microsoft Word

Quis Freetest Microsoft Word

KG - Professional Development

15 Qs

MOC 20744C-Securing Windows Server 2016 - Part 2

MOC 20744C-Securing Windows Server 2016 - Part 2

Professional Development

17 Qs

HTML & CSS

HTML & CSS

6th Grade - Professional Development

16 Qs

HTML & CSS quiz

HTML & CSS quiz

6th Grade - Professional Development

21 Qs

Office 365 & Services

Office 365 & Services

Professional Development

20 Qs

Pretest Latihan Soal Excel

Pretest Latihan Soal Excel

Professional Development

15 Qs

L4 Ôn tập HK 2 - 22-23

L4 Ôn tập HK 2 - 22-23

Professional Development

16 Qs

TypeScript and Popular Framework

TypeScript and Popular Framework

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

Access all questions and much more by creating a free account

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

Already have an account?