Posts Tagged ‘bash’

Bash Cheatsheet

Thursday, November 13th, 2008

Tip: Bash Shortcuts

Monday, October 27th, 2008

Bash, which is the default shell in Linux contains a whole lot of key bindings which makes it really easy to use . The most commonly used shortcuts are listed below :

(more…)

Using chattr to Eliminate Command Line Histories

Tuesday, September 9th, 2008

Most distributions use Bash as its default shell. One of the features of Bash is its ability to keep a running history of commands the user has typed. This could, however, end up being a security problem. If a bad guy were able to compromise a user’s home directory, they could view commands the user has executed. In some cases, this could expose improperly used passwords or special privileges available to the user (such as sudo.)
> (more…)

Install the bash shell in OpenBSD

Monday, September 1st, 2008

If you did not buy your copy of OpenBSD then you won’t have any packages available locally in order to install the bash shell. The below example will show how to obtain the BASH package remotely.

  • Step 1 - Adding the BASH shell remotely
  • Step 2 - Setting BASH as your login shell

1. Add the i386 package for the BASH shell:

# pkg_add -v ftp://ftp.openbsd.org/pub/OpenBSD/4.3/packages/i386/bash-3.2.33.tgz

2. Setting BASH as your login shell:

# chsh -s bash
Pages: 1 2 Next