Tag Archives: bash

Processing A List Of Files In bash

Written by Aijaz Ansari. Filed under Computers. Tagged , , . 1 Comment.
Under the tracks at Washington and Canal
When you’re working in Unix or Linux or even Mac OS X, there are often times when you need to apply the same command to a list of files.  In this post I’ll show you a couple of quick ways to do this using the bash shell. Let’s assume you have a command called that [...]

Navigating the Directory Stack in ‘bash’

Written by Aijaz Ansari. Filed under Computers. Tagged , , , , . 3 Comments.
Barracks by the Taj Mahal
If you’re like me, you spend a lot of time jumping from project to project in a Linux shell.  I find that I have to switch back and forth between directories.  The bash shell has commands to maintain a stack of directories.  I’ve written some functions that use these utilities to make directory navigation easier. [...]