MobaXterm application for Windows. A good Linux shell for the Windows operating system.

The MobaXterm application for Windows is a good way to practice Linux commands if you are stuck on a Windows only machine. This application is extensible with add ons such as the gcc compiler and Vim editor as well as many other add ons to make the application even more useful. This is good for practising programming … Read more

BASH shell tips and tricks. Some useful tips for using the Linux CLI.

To get simple information about a Linux command, or to refresh your memory, use the info pages to learn more about the commands. Type info ls for example to get information about the ls command. Type help and then a bash scripting command like ‘echo’, and the help will be displayed. 4.4 Fri Oct 25 … Read more

Useful tricks when using the find command on Linux and backticks.

Using the Linux command-line allows a lot of flexibility when running commands and how they are run. Take the example below for instance. rm `find ./ -name "*~"`rm `find ./ -name "*~"` This command runs a command within backticks and outputs the result as an argument to the rm command. This command will therefore delete … Read more

BASH Shell is better than Powershell and discussion of the Linux desktop versus Windows.

The Powershell for Windows has many useful features for controlling your Windows computer; with many cmdlets and scripting ability; but the BASH shell for Linux is already an established shell that is far more powerful and useful. The downside to the Powershell is that it does not seem to have an implementation of grep. Without … Read more

Cool BASH script that I thought I would share. Print out all of the BASH colors.

This is a BASH shell script that will print all of the available colors using the BASH shell. The colors are useful for colorizing your BASH prompt to differentiate it from your shell output. #!/bin/bash   # colors.sh – Print out all the different ECMA color-mod combos # # 2008 – Mike Golvach – [email protected]Read more

CISPA bill still a threat and awesome Linux shell tricks.

The Internet is still under threat, the SOPA and CISPA bills are threatening the freedom of speech that we are enjoying at the moment. The elderly members of Congress do not truly understand the Internet and are only interested in shutting down the freedom of speech to better control the flow of information that would … Read more

Using the dircolors command in your ~/.bashrc.

Using the dircolors command in your ~/.bashrc. The dircolors command as used in your ~/.bashrc will set the colours of the various files and directories that are shown with the ls(1) command. Use the command dircolors –print-database to display a list of the filetypes and what colour codes will be used for each one. [ … Read more

Converting a comma delimited file to newline delimited. Using sed to perform the conversion.

The search and replace dialog in Gedit. I have used this to convert a comma-delimited file to a newline delimited file. I had saved a huge long list of IP addresses that I had to put into the ban list on my forums, and the list was comma-delimited, but the latest PHPBB software will not … Read more