Unix Basics Practice Test: File System — Flashcards | Unix Programming | FatSkills

Unix Basics Practice Test: File System — Flashcards

Fast review mode: answers are shown by default so you can skim quickly. Hide them if you want to self-test.

Quiz on files categories, pwd and cd commands for file handling, is command for listing directory contents, absolute and relative pathnames.

The Unix file system is a hierarchical file system that stores files and directories in a tree-like structure. The top of the tree is the root directory, which is denoted by a slash (/). All other directories and files are located below the root directory.
Directories are used to organize files. To create a directory, you use the mkdir command. To delete a directory, you use the rmdir command. To move a file to a different directory, you use the mv command.
Files are used to store data. To create a file, you use the touch command. To delete a file, you use the rm command. To open a file, you use the cat command. To write to a file, you use the echo command.
The Unix file system also has a number of special files, such as device files and symbolic links. Device files are used to access devices such as terminals, printers, and mice. Symbolic links are used to create shortcuts to other files or directories.
To learn more about the Unix file system, you can use the man command to view the manual pages for the mkdir, rmdir, mv, touch, rm, cat, and echo commands. You can also use the ls command to list the contents of a directory.

1 of 50 Ready
A file is a container for storing information.
True
Shortcuts
Prev Space Show / hide Next
Turn this into a study set.
Sign in with Google to save tricky questions to your reminder list and resume on any device.
Sign in with Google Free • no extra password