Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 3

S.

no Statement
1 In Linux, what is the command to display the current working directory?
2 Which command is used to remove an empty directory in Linux?
3 The command ls -l displays what information about files?
4 Which Linux command is used to copy files or directories?
5 What is the purpose of the cat command in Linux?
6 Which command is used to display the contents of a file with line numbers in Lin
7 The more command is used for:
8 Which command is used to display the contents of a file in reverse order?
9 What is the purpose of the head command in Linux?
10 Which command is used to display the last few lines of a file in Linux?
Option a Option b Detailed
Option c Option d
pwd dir information
ls cd
including
rd rmdir rm
permissions and del
File names only File sizes only sizes Hidden files only
cp mv
Display the contents of a copy cpy
Copy a file to a new location file Create a new file Displaying the
Rename a file
contents of a file
display show
Displaying the first part of cat -n
Displaying the last ls
one-n screen at a
Deleting a file a file part of a file time
reverse rev
Display the last part of a backward
Display the middle cat -r a specific
Display
Display the first part of a file file part of a file line from a file
bottom tail end last
Answer
pwd
Detailed information
rmdir
including permissions and
sizes
cp
Display the contents of a
file
cat -n
Displaying the contents of a
file one screen at a time
rev
Display the first part of a file
tail

You might also like