
1 File Commands in Linux

Quiz
•
Computers
•
12th Grade
•
Medium
Rinchen Tso
Used 3+ times
FREE Resource
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which option with cat displays line numbers?
cat -n
cat --number
cat -l
cat -e
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you concatenate multiple files using cat?
Execute 'cat file1 file2 -o output_file' to join files.
Use 'merge file1 file2 > output_file' to combine files.
Use 'cat file1 file2 ... > output_file' to concatenate files.
Run 'cat > output_file file1 file2' to concatenate files.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the ls command?
To delete files
To change directory
To copy files
To list directory contents.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which option with ls shows hidden files?
ls -a
ls -l
ls -1
ls -h
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you list files in a detailed format using ls?
ls -h
ls -l
ls -R
ls -a
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the cp command do?
The cp command moves files to a different location.
The cp command compresses files.
The cp command copies files and directories.
The cp command deletes files and directories.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which option with cp allows you to copy directories recursively?
-a
-r
-f
-u
Create a free account and access millions of resources
Similar Resources on Wayground
18 questions
Cyber Security

Quiz
•
9th - 12th Grade
20 questions
Managing Data Year 12

Quiz
•
11th - 12th Grade
12 questions
File Management

Quiz
•
9th - 12th Grade
20 questions

Quiz
•
7th - 12th Grade
11 questions
Google Collaboration

Quiz
•
9th - 12th Grade
20 questions
MTA - Mobility and Devices Fundamentals Part 1

Quiz
•
10th Grade - Professi...
20 questions
TIK 9 - Penggunaan Browser Untuk Akses Internet

Quiz
•
11th - 12th Grade
20 questions
ASJ

Quiz
•
12th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade