Bash Bug – Shellshock – How to fix it – Ubuntu / CentOS / RedHat / Fedora

A vulnerability has been discovered in Bash shell (default shell in many Linux OSs) . To check if your bash version is affected, issue the folowing command on the Terminal: env x='() { :;}; echo vulnerable’ bash -c ‘echo hello’ Vulnerable bash would show the folowing text: vulnerable hello If you are not vulnerable, you […]

Read more "Bash Bug – Shellshock – How to fix it – Ubuntu / CentOS / RedHat / Fedora"

Install Gems without ri, rdoc documentation

These days it is not necessary to have gem documentation installed locally. This unnecessarily increases installation time. Unless you have specific requirement for locally available documentation, you can skip the installation of rdoc and ri documentation when installing gems. Just add this to your home directory in <home_directory>/.gemrc file gem: –no-document # skip installation of all documentation […]

Read more "Install Gems without ri, rdoc documentation"