Share your knowledge at the LQ Wiki.
Go Back > Blogs
User Name



Script madness! Or, why I love the shell prompt

Posted 03-21-2010 at 09:50 PM by Raveolution

So today I decided I was tired of dealing with a whole large directory of zip files. Since all the zip files were uniquely named, I figured might as well make a corresponding directory name and unpack each one in there.

Good luck doing that in Winderz. But I'm not in Winderz. I'm on a shell prompt. So what's a nerd to do.

Well, so far I worked it out this way. In bash, I did:

for i in *.zip;do unzip $i -d `echo $i| sed -e 's/.zip//g'`;done
Posted in Uncategorized
Views 1332 Comments 2 Raveolution is offline

Wow. Linux has come a LONG way since Slackware 3.2

Posted 03-09-2010 at 12:35 PM by Raveolution

Yeah, that's when I started using Linux. Since then I've been on Slackware up to 9.1, and then mainly Redhat from then on, stopping at about RedHat 9 and then jumping back on around Fedora 7, then off again around Fedora 9, and now I'm running a fully upgraded install of Fedora 12. Well, it'll be fully upgraded when I reboot, which I am want to do whenever a kernel or X upgrade occurs. Other than that, it's been six SOLID weeks since I've booted this comp into Windows, and three days as far as my...
Posted in Uncategorized
Views 1421 Comments 5 Raveolution is offline


All times are GMT -5. The time now is 08:03 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration