Posts tagged bash
Adding Color to Bash List Command Par...
I previously blogged about how to add color to the ‘ls’ command utilizing an config file and alias. I then stumbled across a nugget of wisdom from a Foresight Linux user on the developers mailing list who gave a handy command that remedies some problems with missing color in a terminal.
On some distributions, the system-wide /etc [...]
Adding Color to Bash List Command
One of the things I love is being able to enter into a directory via terminal, list the contents, and quickly see which ones are executable or not and which ones are directories or are not directories IN COLOR (not everyone is perfect right?). This is specifically handy as I move through working with Slackware based distributions like the on [...]
Find Files & Directories Not Vis...
I wanted a quick way to be able to find out what files weren’t visible to others (and therefore, not visible to website visitors). Messing with arguments and the file command, you can do the following:
find -type f ! -perm -444
This locates all files not visible to ‘others’ in the current directory. You can apply this to d [...]
BASH Prompt Fun
The Bourne Again Shell aka BASH has been around for a while. For those of us that also have been around for a while…this shell possibly could be the one you choose to use for your Linux distro. I first started using BASH when I was in college. We had Solaris 2.0 Servers that allowed me to mess around quite a bit back then.
But most n [...]