LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Script madness! Or, why I love the shell prompt

Posted 03-21-2010 at 08: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
...
Member
Posted in Uncategorized
Views 1828 Comments 2 Raveolution is offline
Old

Wow. Linux has come a LONG way since Slackware 3.2

Posted 03-09-2010 at 11:35 AM 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...
Member
Posted in Uncategorized
Views 1814 Comments 5 Raveolution is offline

  



All times are GMT -5. The time now is 01:34 AM.

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