Drew's blog
Cal
Submitted by Drew on Sat, 10/25/2008 - 15:38.The next time you are in the terminal and want to see the calendar, just type 'cal' and you will be faced with the current month's calendar.
If you want to see last month's calendar as well as this month and next month, type 'cal -3'.
For more information on how this program works, just type 'man cal' in the terminal.
- Add new comment
- 386 reads
Nbtscan
Submitted by Drew on Mon, 09/15/2008 - 22:18.Nbtscan is a program for scanning networks for NetBIOS name information. It works very quickly and can be usefull for information gathering about the network you are connected to. Nbtscan is not installed by default in Ubuntu so you will have to install it. Use synaptic or just use the command
sudo apt-get install nbtscan
I have made a script and put it in my /home/drew/bin/ directory so that all I have to do is type the name of the script into a terminal and I get instant results.
Here is a copy of my script
#! /bin/bash sudo nbtscan -hv 192.168.1.0/24 > test.txt && mousepad test.txt
This will send the output to a text file and open it with mousepad ( which is not installed by default as well - Just use gedit if you want to)
The reason I use mousepad is to demonstrate how quickly the nbtscan actually runs.
Try typing
- Add new comment
- Read more
- 563 reads
Snarf
Submitted by Drew on Mon, 09/08/2008 - 21:55.I have been using a program lately called snarf. I always use it with the -v option. I have incorporated it into my version of bashpodder and I also use it for all of my command line downloads. Snarf is not included by default in ubuntu, so you will have to manually install it.
sudo apt-get install snarf
Here is an example of how I would use it.
snarf -v http://hydrogen.oshean.org/psw-airpwn.m4v
the output should look something like this
- Add new comment
- Read more
- 949 reads
I'm back and I will try harder
Submitted by Drew on Mon, 09/08/2008 - 21:44.I am back from a long summer hiatus and I am going to try to keep things going here. I have been very busy over the summer but now things are slowing down a bit. I hope to keep your interest in this site over the next several months and I think I have found a way for me to consistently keep posting to my blog. Stay tuned, and please read the blog as well as the main page.
As usual, your comments and corrections are always welcome.
Drew
- 2 comments
- 574 reads
Upgrade to Hardy Heron Success
Submitted by Drew on Sat, 04/12/2008 - 20:28.
Last night I took the plunge into Hardy Heron. I was able to do the upgrade on my Toshiba laptop by issuing the command ' sudo update-manager -D'. This command checks to see if there is a development release. The update took a couple of hours to finish. Once it was done, I had the 2.6.24-16 kernel, firefox 3 [let the frustrations begin(more on that later)] and a whole bunch of little goodies that just make things so much better.
- Add new comment
- Read more
- 1153 reads
Adding SATA and other drivers to your windows installation cd
Submitted by Drew on Mon, 04/07/2008 - 22:21.I am trying very hard not to use windows but lately I was forced to. I am the proud owner of a laptop without a floppy drive, and no bios updatter for linux. I thought I would bite the bullet and install windows to update my bios. Not quite so easy. My windows install cd did not recognize my hard drive and when I used the F6 option to install my SATA/RAID drivers from another source, windows could not see my usb drives iether. I searched high and low and could not find a clear answer to my problem. I found several forum posts of people having the same problem as me and no solutions. Just a lot of people saying 'never mind'.
I don't plan on blogging much about windows stuff but I am all about hacking and this is a hack/solution that I had to do to make something work. I will include a list of some of the struggles I had to go through later on in this article.
Bash Script Shortcuts
Submitted by Drew on Sat, 03/22/2008 - 20:40.I have been playing with some better ways to execute my scripts that I use alot.
I have found a solution that works well for me and I hope you can make use of this too. I have a couple of dozen scripts that I use and about half of them I use all of the time. The first thing I did was made a bash script directory in my home folder. I named it 'bash'. Next I edited my home/<user>/.bashrc file and added these lines to the bottom of the file.
PATH=$PATH:~/bash
export PATH
What this does is includes the directory you put here in the list of executables.
- 4 comments
- Read more
- 1392 reads
Multiple terminal windows with 'Terminator'
Submitted by Drew on Fri, 03/21/2008 - 21:57.If you are anything like me, I can't live with just one terminal window open.
I have found a program called Terminator.
It has the capability to have many seperate terminals open in one window.
It is much easier than tabe from the default terminal application.
I have been playing with it for about a week now and I can't find anything that I dislike.
Here is a link to the website and a screenshot to go with it.
- Add new comment
- Read more
- 1723 reads
My first blog post
Submitted by Drew on Wed, 03/19/2008 - 23:23.As I passed the time tonight I thought I should dust off the Nokia770 internet tablet. By adding various repositories I have heavily customized this little machine into a very nice hacking tool. Anything from kismet and aircrack to multimedia management. This thing can do just about anything.
I fired it up, sniffed the wireless networks in the neighborhood (kismet)(awesome).
Played with Canola for a while (Another great piece of software).
I checked my mail and remote desktopped into my wife's computer (windows xp) to run some antispyware and malware checkers. Then it was on to the terminal to ssh into my laptop and download some podcasts and do some updates. Great fun for the price.
As I browsed through some of the features, I remembered seeing the option to take a screenshot. So I did and thought I would pass them along to you.


