How would you copy a file named file5.txt from the Documents directory to the Backup directory?

Basic file operations

Quiz
•
Information Technology (IT)
•
University
•
Hard
Ishini Ranganee
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
cp ~/Documents/file1.txt ~/Backup/
ls- list file in directly
cp ~/Documents/file5.txt ~/Backup/
create links to a file
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command would you use to list all files in a directory along with their inode numbers?
ls-a
ls -i
ls -h
ls -f
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How would you delete a file named temp.txt in the current directory?
de temp.txt
cp temp.txt
rmi temp.txt
rm temp.txt
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How would you rename a file old_name.txt to new_name.txt in the current directory?
mv old_name.txt old_name.txt
mv new_name.txt new_name.txt
mv old_name.txt new_name.txt
mv 1_name.txt old_name.txt
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you list files in a directory and include indicators for file types
ls -F
cp -F
ls -I
mv -F
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command would you use to list files in a directory with detailed information, including file permissions, and display the sizes in a human-readable format (e.g., 1K, 2M)?
ls -mv
cp -lh
ls -lh
ls -25
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What can you use to recursively copy direction?
-a or -R option
only -a option
only -R option
All these answers
Create a free account and access millions of resources
Similar Resources on Quizizz
9 questions
Linux Core Directories

Quiz
•
11th Grade - University
10 questions
Week 6 上周知识点回顾

Quiz
•
University
13 questions
File Processing in C++ Quiz

Quiz
•
University
15 questions
Perl

Quiz
•
University
14 questions
File Management Quiz

Quiz
•
University
15 questions
CMDP2063 Unix and C Programming (Revision)

Quiz
•
University
8 questions
COM99 MS-DOS: QUIZ N°1

Quiz
•
University
15 questions
Mastering Express JS Concepts

Quiz
•
12th Grade - University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade