Misc BASH shell tricks for the Linux user.

To recall the last entered command on the Linux console, press the Ctrl-P key shortcut. You may also press the up arrow to recall the command, but the Ctrl-P shortcut is another good way to perform this feat. The CTRL-A shortcut will jump to the beginning of the line you…

Read More

Very useful .vimrc file for Linux users.

A very nice .vimrc file for any Linux user, this makes VI or VIM easier to use. " ~/.vimrc (configuration file for vim only) " skeletons function! SKEL_spec() 0r /usr/share/vim/current/skeletons/skeleton.spec language time en_US if $USER != ” let login = $USER elseif $LOGNAME != ” let login = $LOGNAME else…

Read More

Apple open source code that is available to everyone. How I installed the zsh shell on Fedora 19 from source code.

http://www.apple.com/opensource/. There is a good selection of open-source code here that Apple is using on their machines. I downloaded the tarball of the zsh shell here: http://www.opensource.apple.com/source/zsh/zsh-55/zsh-4.3.11.tar.bz2. This was compiled very easily after I installed the ncurses-devel RPM from this location for Fedora 19: ftp://rpmfind.net/linux/fedora/linux/releases/19/Everything/x86_64/os/Packages/n/ncurses-devel-5.9-11.20130511.fc19.x86_64.rpm. Then I was able to…

Read More