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 new
ones. Bash and other shell may use this history library....
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 access remotely. Its just a shell right?
Well Not quite. Bash, the Bourne Again Shell, is widely used (and loved) by many system
administrators and developers. Bash allows you to...
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....
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 information about locale on the server.
The command locale -a will give you a list of all the locale you can...