Posted November 22, 2007 at 11:11am in
Linux
A friend was wanting to extract the mp3s from the OTH archive, but because of the non-standard naming structure it wasn’t just a regex on .mp3 files.
I wrote this bash script to properly extract the urls. Sure you could use regex to trim it down a bit, I just didn’t see the need to. It requires bash, wget, internet connection, and considering the number of mp3s a decent one at that **56k beware**.
Posted November 11, 2007 at 05:11am in
Linux
Here are two new command aliases I added
Directory list with auto grep
user@host:~$ alias lsg=”ls | grep $1″
user@host:~$ lsg D
Desktop
Documents
Downloads
ZDE
Directory list with ‘more’
user@host:~$ alias lsm=”ls | more”
user@host:~$ lsm
Desktop
……
Pictures
–More–
Posted November 1, 2007 at 03:11am in
Computers, Linux
I mentioned a few problems with Ubuntu, well I was able to figure out the problem…. sorta. I was booting to Ubuntu via lilo which was on BackTrack, I guess grub sets it up as a scsi device because when I reinstalled Ubuntu and booted with grub my problems went away and hdparm gave a much different output. I am moving files over right now to another machine so that I can wipe the laptop, start over with a 100% linux laptop. I will be running either VMWare player on it or VirtualBox for both Windows and BackTrack. I do however wonder how my RAM is going to react to that.
I have another update I am going to post next week that will hopefully be great news but for now it is a big secret ;-D