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...
Look at methods for determining disk usage across multiple UNIX® systems and how to create a simple warning system to alert you of potential problems. Keeping an eye on your file systems and ensuring they don't fill up is a trivial, but ital process in the day-to-day management of your UNIX systems.
Here is a simple shell script that generates a list of process running on a GNU/Linux system containing the process' PID, name and path. The script is straight forward and one can easily modify it according to their needs.
This isn't about a shell script, it's about a really cool technique to apply in shell scripts. Have you ever been worried about multiple instances of a shell script running because they might overwrite or corrupt the data or devices they are working on? Here's a way to prevent that.
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.
Transmission is a simple yet powerful torrent client. It’s available in some of the Linux distributions by default. However, one very important torrent client must have feature is missing in transmission. Now, we are going to add that feature by ourselves with our own shell script. We will make that shell script execute in Transmission after download completes.
So you're not a programmer, you say? If you can string a few shell commands together, it's not much of a step from there to programming. To demonstrate that, I'll take you through the steps of writing a very simple web gallery script: one that will take your images and build a little web page to show them off.
The first time I played with Zenity, I recognized several potential uses for it. While I'm pretty comfortable with interacting with computers with a command line interface, I know many people are not. Zenity creates GUI widgets from a simple command line and can be used from any shell script.