BIP KB Tag: bash

How To Change The Language In A Linux (BaSH) Shell

To set your current shell to a different language you use the bash variable LANG followed by the language you want: LANG=en_us_8859_1 If you want to set that so its used every time add an export line to your .bashrc for that user. The .bashrc file can be found in each user's homedir, if they don't have one you can create it: export LANG=en_us_8859_1 The command locale will show you informa...
By yang-li, January 24, 2015


How To Change The Shell Type For A Specific User

If you would like to change the shell type for a specific user you can do the following. In this example we will change the shell type for username jimmysmith to Bash: chsh -s /bin/bash jimmysmith If you have any questions feel free to leave me a note below and I will get back to you....
By wen, January 24, 2015


How To Check If You Are Vulnerable To Bash ShellShock

Introduction Bash shellshock Bash shellshock, what a fitting name. The latest major headache for Sys Admins, Developers…well pretty much anyone who has a*nix system running… has been brought to our attention by Security Researcher Stephane Chazelas. The impact of this vulnerability is far bigger than the recent SSL Heartbleed vulnerability. While most people would not think of a bash being something you would be able to acces...
By chris, March 19, 2015


How To Clear Linux / UNIX BASH Shell Command Line Cache / History

Introduction to Shell Q. I just noticed faq about clearing dns cache and there are lots of commands stored in my cache. Can you tell me the command to clear out my command history or cache from a shell prompt? A. Many programs read input from the user a line at a time. The GNU history library is able to keep track of those lines, associate arbitrary data with each line, and utilize information from previous lines in composing ne...
By tommy, June 3, 2015