This is a computer science quiz on UNIX, which includes questions based on the file systems in UNIX which is a multi-level hierarchy structure.
A file is a container for storing information.
In how many broad categories, files are divided into UNIX?
In UNIX, the file name and file size are stored in the file itself.
The root directory is represented by ___
_____ and _____ cannot be used in a filename.
Device files are used by the kernel for operating the device.
Which of the following is not a filter?
Which command is used to remove a directory?
The most common file type is ___
Ordinary file
Directory file
Device file
Ordinary file and directory file
What is a directory file?
A directory containing data
A directory containing details of the files and subdirectories it contains
A directory contains files
A directory containing data and files
Each entry of directory file has component(s) namely _____
Filename
Inode number
Filename and Inode number
File size
When we log in, the UNIX places us in a directory, called the ______ directory.
Home
Main
Parent
Current
The cp command uses:
Standard input file
Standard output file
Both input and output file
Neither standard input nor standard output file
Which command will be used with vi editor to replace text from cursor to right?
r
R
s
S
Which of the following commands is used to rename a file?
rename
remove
mv
ren