Introduction
This chapter is about creating components that mimic application functionality such as menus or a daemon. For that to happen, let's step back for a second and determine: what defines an application or daemon? Is it menus? Is it the ability to run forever? Or the ability to run headless in the background? All of this defines behaviors that an application may exhibit, but nothing prevents a script from also having these behaviors as well!
For example, if a bash script did not have an extension (for example, .sh) and was not ran explicitly with the Bash interpreter, how would you know on the first inspection that it was a script and not a binary? While there are a number of ways such as opening, or using the file command, on the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access