Frequent Question: What Is D Command in Linux?
Contents

ls -d shows information about a directory or symbolic link – with this information being (in simple terms) its respective path. The logical assumption is that the d stands for directory, since it’s most basic definition in UNIX terminology I’ve come across is ‘lists directories’.

What does D mean in Linux?

It means that it is a directory. The first mode field is the “special file” designator; regular files display as – (none). As for which possible letters could be there, on Linux the following exist: d (directory) … D (door, not common on Linux systems, but has been ported)

What is Ctrl D in Terminal?

Ctrl-D is an equivalent of exit command. You can think about the Python REPL, where Ctrl-C ends the currently running command, but Ctrl-D exits the REPL itself.

Marcus Vance

Marcus Vance

Cybersecurity & Digital Privacy Researcher

Marcus Vance is a cybersecurity auditor and technology writer dedicated to educating the public about online safety, data privacy regulations, enterprise security, and emerging cyber threats.

Share this article
Twitter Facebook Pinterest