Why do some Linux files have a 'd' suffix?

Ankur Loriya

I observed some of the binary files and configuration filenames end with a d. What is reason for putting a d at the end of the file name?

Like httpd, ospfd, pppd, syslogd, telnetd, pptpd, inetd, bootlogd and dhcpd.

Runium

They are daemons (Computing) – as in "workers behind the curtain".

http   Daemon - Hypertext Transfer Protocol Daemon
ospf   Daemon - Open Shortest Path First Daemon (89)
ppp    Daemon - Point-to-Point Protocol Daemon
syslog Daemon - Syslog Daemon
telnet Daemon - Telnet server Daemon
pptp   Daemon - Point-to-Point Tunneling Protocol Daemon
dhcp   Daemon - Dynamic Host Configuration Protocol Daemon

All depending on how you interpret the word they can definitively also be demons.

As Wikipedia and Take Our Word For It explains; the words is taken from Maxwell's daemon

Courtesy of Htkym Creative Commons

Maxwell's_demon.svg Htkym CC, Wikipedia

"an imaginary agent which helped sort molecules of different speeds and worked tirelessly in the background."


Else the usage of the word is somewhat in these lines:

daemon: spirit      (polytheistic context)
demon : evil spirit (monotheistic context)

Fix#1:

And as pointed out by the good Mr. @Michael Kjörling, to emphasize: "Of course, just because the executable's name ends in d doesn't mean it is a daemon."

sed    Stream Editor
dd     Data Description 
chmod  Change file mode bits 
xxd    Hex Dump
find   Find

etc. are examples of frequently used tools ending in d. Then again that would not be an added suffix as in sedd.

ls /usr/bin/*d /bin/*d

Though; typically daemons have the letter d appended at the end.

telnet vs telnetd

Another writeup on the subject of *Nix Daemons.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Why do some some files in /etc have a numeric prefix?

From Dev

Why do some Debian packages have a "+deb7u2" suffix?

From Java

Why do some Linux system calls not have a wrapper, but are documented as if they do?

From Java

Why do some Linux system calls have two man pages?

From Dev

Why do some files names in Linux start with numbers?

From Java

Why do integers in database row tuple have an 'L' suffix?

From Dev

Why have some external javascript files ?numbers?

From Dev

Why do some binary files have null bytes between characters when storing strings?

From Dev

Why do some primitives have byte-codes and some do not?

From Dev

Why do some laptops not have a GPU slot?

From Dev

Why do some routers not have a WAN port?

From Dev

Why do some of functions have pass

From Dev

Should all plain text files have some sort of suffix (e.g. *.txt, *.conf)

From Dev

Why do some linux header files define a function to return 0 after the declaration?

From Dev

Unity3D - Why do we have to add some parameters outside of braces?

From Dev

Why do some js files begin with (function() {

From Dev

Why do some linux binaries need to be recompiled?

From Dev

Why do special device files have inodes?

From Dev

Why do we have .desktop files?

From Dev

Why do some websites have link files like "afs342sf.css" instead of "main.css"?

From Dev

Bash script to rename some files with a suffix

From Dev

Why the names of some css, js files have random numbers in them?

From Dev

Why do Linux/POSIX have lchown but not lchmod?

From Dev

Why do Linux distributions have different performance?

From Dev

What does the computer have to do to move some files around?

From Dev

Do some files downloaded from the internet have execute permission by default?

From Dev

Why do all type_traits Classes have to be called using 'typename' and '::type' Prefix/Suffix?

From Java

Why does java have no byte type suffix?

From Dev

Why are web protocols designed to have :// suffix?

Related Related

  1. 1

    Why do some some files in /etc have a numeric prefix?

  2. 2

    Why do some Debian packages have a "+deb7u2" suffix?

  3. 3

    Why do some Linux system calls not have a wrapper, but are documented as if they do?

  4. 4

    Why do some Linux system calls have two man pages?

  5. 5

    Why do some files names in Linux start with numbers?

  6. 6

    Why do integers in database row tuple have an 'L' suffix?

  7. 7

    Why have some external javascript files ?numbers?

  8. 8

    Why do some binary files have null bytes between characters when storing strings?

  9. 9

    Why do some primitives have byte-codes and some do not?

  10. 10

    Why do some laptops not have a GPU slot?

  11. 11

    Why do some routers not have a WAN port?

  12. 12

    Why do some of functions have pass

  13. 13

    Should all plain text files have some sort of suffix (e.g. *.txt, *.conf)

  14. 14

    Why do some linux header files define a function to return 0 after the declaration?

  15. 15

    Unity3D - Why do we have to add some parameters outside of braces?

  16. 16

    Why do some js files begin with (function() {

  17. 17

    Why do some linux binaries need to be recompiled?

  18. 18

    Why do special device files have inodes?

  19. 19

    Why do we have .desktop files?

  20. 20

    Why do some websites have link files like "afs342sf.css" instead of "main.css"?

  21. 21

    Bash script to rename some files with a suffix

  22. 22

    Why the names of some css, js files have random numbers in them?

  23. 23

    Why do Linux/POSIX have lchown but not lchmod?

  24. 24

    Why do Linux distributions have different performance?

  25. 25

    What does the computer have to do to move some files around?

  26. 26

    Do some files downloaded from the internet have execute permission by default?

  27. 27

    Why do all type_traits Classes have to be called using 'typename' and '::type' Prefix/Suffix?

  28. 28

    Why does java have no byte type suffix?

  29. 29

    Why are web protocols designed to have :// suffix?

HotTag

Archive