≡ Menu

Bash Shell Programming HowTos

Tutorials, howtos and programming tips about GNU Bourne-Again SHell (BASH) for Apple OS X, Linux, *BSD and Unix like operating systems. ( rss feed )

Linux / Unix Shell: Set Default Printer

How do I set default printer in my Bash shell under CentOS Linux or FreeBSD unix desktop operating systems?
[click to continue…]

Bash Shell: Find Out If a Variable Is Set or Not

How do I check if a bash shell variable called $input is defined or not under BSD / Apple OS X / Unix / Linux like operating systems?
[click to continue…]

How do I assign printf command result to a shell variable under Unix like operating systems?
[click to continue…]

How do I change the default home page with Lynx browser under UNIX or Linux operating system? How do I set the startup page to http://google.co.uk with Lynx?
[click to continue…]

HowTo: Linux Random Password Generator Command

How do I generate random passwords on the Linux command line using the bash shell? How to create random password using Linux command line options?
[click to continue…]

Bash Shell: Extract Digits From a String

How do I extract digits only from a given string under Bash shell?
[click to continue…]

Linux: Find Out My Group Name [ Group Memberships ]

How do I find out the group name under Linux operating systems using bash shell prompt? How do I display group information for the specified USERNAME under Linux?
[click to continue…]