Category Archives: bash

PHPHOST BLOG

Web Hosting Related Articles You May Need

Speeding up the Playback of Audio Podcasts

Background

I listen to a lot of tech podcasts, and a while back I started not being able to keep up with all of them on a weekly basis. The thought of dropping some of them to make room wasn’t really an option. So I started fast forwarding through some of the “dead air” in an […] Continue reading

Posted in audio, bash, podcasts, Syndicated, tip, tutorials | Comments Off on Speeding up the Playback of Audio Podcasts

Change the color of your Linux prompt

You can change the color of your BASH prompt to red with this command:
export PS1=”\e[0;31m[\u@\h \W]\$ \e[m”
To make the change permanent, create a .bash_profile in your home directory (if one isn’t already present):
touch ~/.bash_profile
and paste the line directly into the file. Save and close. For other colors please see the attached list:

Color
Code

Black
0;30

Blue
0;34

Green
0;32

Cyan
0;36

Red
0;31 […] Continue reading

Posted in bash, cli, color, colors, Syndicated, System | Comments Off on Change the color of your Linux prompt

[one-liner]: Bash’s wait Command

I’ve been working with UNIX operating systems for 20+ years and I’m still amazed at how much I still don’t know about it. Recently at work I came across a script (Bourne) that made use of the wait command. Now if someone had asked me if a command like this existed I would probably have […] Continue reading

Posted in bash, one-liner, shell, Syndicated, tips & tricks | Comments Off on [one-liner]: Bash’s wait Command