Many people don’t think of their command prompt as a particularly useful thing, or even pay it much attention. To me, this is a bit of a shame, as a useful prompt can change the way you use the command line.
Read more »8 Useful and Interesting Bash Prompts
Category: High End Tags:
- Login to post comments
Command Line Basics: Pipelining Output
One of the most powerful features of the Linux command line interface, (and other shells that conform to the POSIX standard) is the ability to pipeline output from one command as the input to another. This is done using the vertical bar or pipe character [ | ].
Read more »- Login to post comments
Bash Shell Scripting Online Course
Scripts are files that contain shell commands which may be short or can be very complex. Scripts just make it easier because you can invoke one command to run all of the commands in the script. Here instead of using 8 separate commands you can use one command to execute all of them.
Read more »Batch Watermark Images in Linux
The composite command from ImageMagick provides an easy way to watermark images. Without too much work you can write a script to do batch processing of your images. This way you can watermark a whole directory of images at once.
Read more »Category: Beginner Tags:
- Login to post comments
Bash, in Color
I find that a little color on the command line helps make things easier to read. ls is easy to colorize: just add the line...
Read more »Category: End User Tags:
- Login to post comments
Create a Twitter Info Server with Bash
Using Bash Shell Scripts for Twitter Updates and Information Posting These scripts are used to both send tweets from the command line and to automate information to your Twitter account. You can use your Linux server or desktop to help present useful information to your account, not Spam. This creates a way to present tips, FAQ, and other information to people as they follow your account.
Read more »Category: High End Tags:
- Login to post comments
Course: Bash Shell Basics
A shell is a program that acts as an intermediary between the user and the Linux kernel. The shell receives commands from the user through typed words and passes them into the kernel for processing. The kernel has the ability to communicate with hardware and gather resources like files and memory. The most common shell is bash.
Read more »Category: High End Tags:
- Login to post comments
Named Pipes... or how to get two separate applications to interact
Recently, I've been working on an application (bash based) that could gather some information that I need from a host (network interfaces configuration, arp neighborgs, routing policy, pinging some other hosts, etc).
Read more »5 Bash Tips, Part II
This article is a continuation to my other Bash-related post, 6 Bash Productivity Tips. Since that article gathered many useful comments and I bumped into several more over the net, here are 5 more tips and tricks. Although these may not be necessarily productivity-related, they will surely ease working in a Bash terminal and it may be worth knowing them.
Read more »Learning from ( bash) history
The Bourne Again Shell (bash) is the default shell in almost all Linux distributions. The bash shell has a history feature which can make life easier for any serious Linux user.
Read more »Category: Beginner Tags:
- Login to post comments
6 Bash Productivity Tips
1. Use !!
Typing !! followed by Enter will bring back and execute the last command (same as Ctrl+P followed by Enter).
Category: End User Tags:
- Login to post comments
More on Using the Bash Complete Command
In the video last week I showed how to use the bash complete command for simple use cases. Today I'll show you some of the additional ways that you can use the command for more complex scenarios.
Read more »- Login to post comments
Bash History Editing
"This post sets a challenge; the goal is to come up with a bash one-liner (which can include multiple statements, pipes, etc. to arbitrary level) which removes "incriminating" lines from the .bash_history file, without looking too incriminating itself [...] feel free to leave your offerings in comments to this post..."
Read more »Category: High End Tags:
- Login to post comments
An Easter Story: More ASCII Art For Linux And Unix
Almost have all the major holidays covered in ASCII ;)
Read more »Category: Beginner Tags:
- Login to post comments
Tutorial: An Introduction to Linux CLI
A shell is a command interpreter which allows the user to interact with the computer. The way things work is simple: the user types in commands, the shell interprets them and performs the tasks it was asked to do, and finally it sends the result to the standard output (which is usually the screen). For example, the output of the ls command can be something like:
Read more »Category: End User Tags:
- Login to post comments