nerdexam
EC-Council

312-50V12 · Question #277

To hide the file on a Linux system, you have to start the filename with a specific character. What is the character?

The correct answer is C. Period (.). This question identifies the specific character used at the beginning of a filename on a Linux system to make it hidden by default. The correct character for this convention is the period.

Submitted by daniela_cl· Mar 4, 2026System Hacking Phases and Attack Techniques

Question

To hide the file on a Linux system, you have to start the filename with a specific character. What is the character?

Options

  • ATilde (~)
  • BUnderscore (_)
  • CPeriod (.)
  • DExclamation mark (!)

How the community answered

(33 responses)
  • A
    6% (2)
  • B
    3% (1)
  • C
    88% (29)
  • D
    3% (1)

Why each option

This question identifies the specific character used at the beginning of a filename on a Linux system to make it hidden by default. The correct character for this convention is the period.

ATilde (~)

The tilde (~) character typically represents the current user's home directory in shell environments, not a prefix for hiding files.

BUnderscore (_)

An underscore (_) is a valid character for filenames but does not confer any special 'hidden' status on a file in Linux.

CPeriod (.)Correct

On Linux and other Unix-like systems, files and directories whose names start with a period ('.') are treated as hidden by convention and are not displayed by default by common commands like `ls` unless the `-a` (all) option is specified. This is a fundamental aspect of the Linux file system.

DExclamation mark (!)

The exclamation mark (!) is a special character often used in shell scripting for history expansion or specific operations, but it does not indicate a hidden file.

Concept tested: Linux hidden file naming convention

Source: https://www.redhat.com/sysadmin/ls-command

Topics

#Linux file hiding#hidden files#filesystem conventions#command line basics

Community Discussion

No community discussion yet for this question.

Full 312-50V12 Practice