AboutWelcome to Free Software Daily (FSD). FSD is a hub for news and articles by and for the free and open source community. FSD is a community driven site where members of the community submit and vote for the stories that they think are important and interesting to them. Click the "About" link to read more...
How to use a Bash Shell script to record the activity of users. This
script is useful in rebuilding the actions of users as they work at
the command line.
Perl and Bash ports of our newbie program to convert binary numbers to decimal. Code written for ease-of-reading, where possible. If you don't script already; start! :)
The positions of variables in a Bash Shell script may be used by the script as a reference. These built-in parameters are useful methods for building scripts.
The Bash Debugger Project (bashdb) lets you set breakpoints, inspect variables, perform a backtrace, and step through a bash script line by line. In other words, it provides the features you expect in a C/C++ debugger to anyone programming a bash script.
Whilst an increasing number of recent converts are avoiding it (and I don't blame them really), the shell is still a key tool for the majority of GNU/Linux users. Shell scripts are knocked-up, shared and deployed in all sorts of circumstances - some simply time-saving, others life-saving.
The Bash Shell provides the ability to create symbolic names which the shell stores in memory and which can be assigned values so that it can be used repeatedly in a shell script.