variables

How do I determine if a function called foo() is already defined in a bash script or not? If a function called foo() is defined just call it or show an error message?

{ 4 comments }

How do I create a shell script function using Bash under UNIX / Linux operating systems?

{ 6 comments }

Q. I’m using BASH shell filename tab completion feature to complete file names and other stuff. However default tab-completion in bash case-sensitive. It cannot show me /tmp/Y* or /tmp/Y* files. How do I force filename tab-completion in bash case insensitive? A. According to bash man page completion-ignore-case set to Off. If set to On, readline […]

{ 8 comments }

How do I use source command under UNIX / Linux / BSD / OS X operating systems?

{ 0 comments }

How do I change the color of my shell prompt under Linux or Unix operating systems?

{ 54 comments }