Alex and I are going to start a series on basic Linux shell commands and all the neat things you can do from the terminal. In my opinion there is a shortage of these type of articles on the internet. We are going to try to cover most every basic task and show how it can be done in the shell with no GUI or Desktop at all. I am going to start out with this article on cd recording, but we will cover such topics as watching movies in the framebuffer, connecting to wireless via the shell, shell based irc chat clients, mysql commands and many more things. I have no idea how many articles there will be in the series but if anyone has a specific request or question you can always post in our engage question and answer section for a more personalized response.
If you are using Backtrack Linux for your wireless Pentesting needs you will not need this how to, however, if you are using another distro or a older version of cowpatty you will have this issue.
The other day I did some optimization work on a PostgreSQL database and at the end needed to create migrations so the changes I was going to make could be deployed on multiple servers. It was my first shot at migrations so I wanted to note for myself and anyone else that may find it useful how to create Ruby migrations for dropping and adding Indexes on PostgreSQL tables. Below you will find the basic concept for creating a migration that adds a Postgres table index and information on removing a table index which is just the reverse of adding.
I needed to install some python related packages for a project I was testing out. The particular project required html5lib and markdown2 to be installed using the easy_install command. First make sure that you have the python-setuptools packages installed so you can use the easy_install command. If you do not have this package installed you can follow the directions here to get easy_install working. Once the easy_install command is working properly run the commands below to install html5lib and markdown2.
This morning I decided to make the big switch to Python 3.0 on my Gentoo Laptop. I have been avoiding it since there are some changes to 3.0 that are not backwards compatible with scripts and tool written in 2.6. The emerge of Python 3.0 went fine but I had some issues with beauitfulsoup which is a python dependency in many tools including fast-track which is a great tool written by my friend Dave Kennedy (ReL1k). As always if you have any questions regarding this or any other issues please make a post in the Question section of the site.