Archive for the 'CLI' Category

I have been looking for a way to favourite my commands. Turning on Bash Smart autocompletion is a start. I found this posting at Ubuntu Blog:
The Bash shell has this sweet feature where you can use the TAB key to auto-complete certain things. For example, when I am in my home directory, the following command:
$cd [...]

After struggling with a number of consoles, all of which claimed to provide the drop-down “Quake” experience, I found Yeah Console, which does exactly what it promises, nothing more, nothing less. I was pleasantly surprised, even though the installation details are not what one could call smooth sailing. If you want to grab the [...]

The Electric Toolbox has an excellent tip on enabling your BASH history page up and page down which is a simple task because Ubuntu already contains the definitions in the /etc/inputrc file, just commented out. Thanks for pointing out some of the power behind Ubuntu.
The file looks like this by default:

# mappings for “page up” [...]

This is the fastest “safe” fixkey method around, since it does not involve aliasing which strictly speaking should be kept for shortening or modifying commands that you already have in your shell, nor does it update software sources, which can slow down valuable time, especially if you have a lot of them.
1. Create a new [...]

The following is taken from the Linux Information Project.
For people accustomed to MS-DOS commands, the following aliases can be defined so that a Unix-like operating system appears to behave more like MS-DOS:
alias dir=”ls”
alias copy=”cp”
alias rename=”mv”
alias md=”mkdir”
alias rd=”rmdir”
alias del=”rm -i”
However, some experienced users of Unix-like systems contend that this may not be a good [...]

[PLEASE SEE Better PPA Fixkey Method the below is for informational purposes only.]
In Fix Software Sources Bad Behaviour we reported two methods for accomplishing the same task of fixing keys. The first, involved manually entering two lines in a terminal. The second involved one entry. Now there is a third faster method. Aliasing.
ICE20.com describes aliasing [...]

Subversion is a version control system, which allows you to keep old versions of files and directories (usually source code), keep a log of who, when, and why changes occurred, etc., like CVS, RCS or SCCS. Subversion keeps a single copy of the master sources. This copy is called the source ‘‘repository’’; it contains all [...]

ASCII art in Ubuntu

888 8 8 8 8 8 [...]

Every now and then you will run into the problem of not having the correct keys for the software sources that you enter into Synaptic. A lot of the time, this is because nobody bothered to give them to you, or you just haven’t figured out how to request them using gpg.
This is what the [...]

Ubuntu has a dearth of easter eggs, but every now an then one pops along. I first came across the “man baby” on an Indian blog sometime in 2008 with no reference to the funny man pages. Trawling the Internet in search of Ubuntu, I found it again at www.junauza.com but with the software references [...]