A few months ago I wanted to keep track of changes on a webpage... and wrote a script to do so. Later I discovered there were navigator plugins that did exactly that... But the fun in writing your own script is far greater than an anonymous script someone did.
Read more »Cron+Diff+Wget: A script to watch for changes in a webpage
Category: Beginner Tags:
- Login to post comments
New Features In Bash Version 4.x - Part 2
Now that we have covered some of the minor improvements found in bash 4.x, we will begin looking at the more significant new features focusing on changes in the way bash 4.x handles expansions.
Read more »Category: High End Tags:
- Login to post comments
New Features In Bash Version 4.x - Part 1
So what's new in bash? A bunch of things, though most of them tend to be rather small. In this series we will look at features that, I feel, are of the most use to ordinary shell users starting with a couple of the small ones.
Read more »Category: High End Tags:
- Login to post comments
Command Line Currency Converter For Linux
Many times I prefer to just work from the shell. The ~/.bashrc file is a great place to put functions if you are using them regularly.
Read more »Category: Beginner Tags:
- Login to post comments
Top Ten One-Liners from CommandLineFu Explained
In this article I’d like to explain the top one-liners from the commandlinefu.com. It’s a user-driven website where people get to choose the best and most useful shell one-liners.
Read more »Category: End User Tags:
- Login to post comments
Bash to Basics: The For Loop
Previously I've shown how to use the bash while loop in a bash script. Today I'm going to show how to use another type of do loop in bash: the for loop.
Read more »Category: Beginner Tags:
- Login to post comments
Repeating Commands in Bash
Making use of previously entered commands can help you remember the location of files previously edited, canremove the need to re-enter long path names and can save you a lot of typing mistakes.
Read more »Category: High End Tags:
- Login to post comments
More Fun With Bash Quoting
I've written about bash quoting before, and yes, it's about as exciting as watching paint dry or listening to the corn grow. It can also be extremely frustrating when it doesn't do what you want...
Read more »Category: High End Tags:
- Login to post comments
Environment Variables In Linux
How to use Environment variables and How they are behave in the linux Environment.
Read more »Category: Beginner Tags:
- Login to post comments
How ImageMagick can save you time
ImageMagick is a great tool! Many times it has saved me from programming. Here is just one example of many applications of the ImageMagick that can save one's time.
Read more »Category: Beginner Tags:
- Login to post comments
BashStyle-NG – Change look and feel of your Bash,Vim and Nano
BashStyle-NG is a graphical Tool for changing the Bash’s behaviour and look’n'feel. Aswell as Readline’s, Nano’s and Vim’s.
Read more »- Login to post comments
Command Line Basics: Join Files With cat
I’ve already shown you how to view files with the cat command. In today’s post I’m going to show you how to use the GNU cat command for its originally intended purpose: for joining multiple files together.
Read more »- Login to post comments
More Bash Redirections
Everybody's seen redirection in bash commands, that's pretty common, but bash also allows you to define redirections when you define functions. This causes the redirections to be evaluated/executed whenever the function is called. This feature doesn't really give you any new features, just another way to express existing features.
Read more »Category: High End Tags:
- Login to post comments
Returning Values from Bash Functions
Bash functions, unlike functions in most programming languages do not allow you to return a value to the caller. When a bash function ends its return value is its status: zero for success, non-zero for failure. To return values, you can set a global variable with the result, or use command substitution, or you can pass in the name of a variable to use as the result variable.
Read more »Category: High End Tags:
Bash to Basics: The While Do Loop
One of the most common structures in programming is the Do Loop. The version that I’m going to show today is the While Do Loop. This post shows how to use the basic structure of the While Do loop in a Bash script.
Read more »- Login to post comments