← All 010-160 Flashcard Decks

Linux Filesystem & File Management Flashcards

7 cards from real 010-160 practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.

Read the first 7 Linux Filesystem & File Management flashcards as text
  1. What does the `touch` command do when used on a file that already exists?

    Answer: Updates the file's access and modification timestamps

    When `touch` is used on an existing file, it updates the access and modification timestamps without changing the file's content.

  2. What is the inode in a Linux filesystem?

    Answer: A data structure storing file metadata excluding the filename

    An inode is a data structure that stores file metadata (permissions, owner, timestamps, data block pointers) but not the filename itself.

  3. Which `find` command option is used to search by file size?

    Answer: -size

    The `-size` option in `find` allows you to search for files matching a specific size (e.g., `find . -size +1M`).

  4. What does `cat file1 file2 > output.txt` do?

    Answer: Concatenates file1 and file2 and writes the result to output.txt

    `cat` concatenates files and `>` redirects the combined output to output.txt, overwriting it.

  5. Which file contains a list of all filesystems to be mounted at boot time?

    Answer: /etc/fstab

    /etc/fstab (filesystem table) defines which filesystems are automatically mounted at system boot.

  6. What does the `mv` command do when the destination is on the same filesystem?

    Answer: Renames the directory entry without moving data blocks

    On the same filesystem, `mv` simply renames the directory entry pointing to the inode — no actual data is copied.

  7. What does the wildcard `?` match in a Linux shell glob pattern?

    Answer: Exactly one character

    The `?` wildcard matches exactly one single character, while `*` matches zero or more characters.