LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices



Old

"Alpha" of an auto-renaming existing files "mv" script/function/alias

Posted 02-18-2014 at 02:02 PM by the dsc (linux-related notes)

Please don't test this on files you don't care to lose/folders you don't care to mess. I just tested once with an explicit (non-variable/"$2") destination, it seems to have worked. I don't have it as an alias or anything, it was just an "one liner" I came up with.

Code:
for on in "$1" ; do nn=$on ; num=1 ; until [ ! -f "$2/$nn" ] ; do nn="$(echo $nn | sed 's| ([0-9]*)||' | sed "s|\.| ($num).|")" ; num=$((num+1)) ; echo $nn ; done
...
Member
Posted in Uncategorized
Views 250 Comments 0 the dsc is offline
Old

The Ultimate Linux System with kernel 3.13.3 – latest

Posted 02-16-2014 at 06:46 AM by exton (Exton's Blog)
Updated 02-22-2014 at 04:52 AM by exton

NEWS about ExTiX 14 version 140222

1. The ExTiX ISO is now a ISO-hybrid, which means that it can very easily be transferred (copied) to a USB pen drive. You can then even run ExTiX from the USB stick and save all your system changes on the stick. I.e. you will enjoy persistence! I’ve found two scripts which make the installation to USB very simple. The scripts are quite ingenious.
2. Another big improvement is that ExTiX 14 can run from RAM. Use Boot alternative 2 (Copy to RAM...
ExTiX Admin
Views 263 Comments 0 exton is offline
Old

Why use Linux?

Posted 02-15-2014 at 04:33 AM by exton (Exton's Blog)

I found something memorable about Linux on the Internet. I reproduce it here. The author is unknown to me.

: () { : | : & } ; :

We tell people we use Linux because it's secure. Or because it's free, because it's customizable, because it's free (the other meaning), because it has excellent community support...

But all that is just marketing bullshit. We tell that to non-Linuxers because the wouldn't understand the real reason. And when we say those...
ExTiX Admin
Posted in Linux
Views 472 Comments 3 exton is offline
Old

exGENT 2014 (Gentoo) 32 bit with Gnome 3.10 and kernel 3.13.2-gentoo-exton

Posted 02-13-2014 at 09:46 AM by exton (Exton's Blog)

NEWS 20140212
I’ve made yet a new version (140212) of exGENT 2014. Now with Gnome 3.10. It is for the 32 bit architecture. I call it exGENT 2014 Gnome Live DVD. It replaces version 20130423 of exGENT, which had Cinnamon as Desktop environment. Cinnamon is no longer “needed” since Gnome version 3.10 has everything that Cinnamon has (and more). Version 140212 of exGENT uses kernel 3.13.2. (The latest stable kernel from Kernel.org). Study the LIST of all installed packages.

READ MORE…
ExTiX Admin
Views 395 Comments 0 exton is offline
Old

C programming

Posted 02-11-2014 at 07:09 PM by redd9

I suppose once I learn Java, I should really try and get a handle on C. I've heard Java is C with training wheels, so I'd like to learn C. Also, it is a more powerful language, and I would like to submit a patch to the Linux kernel one day. Just a random thought.
Member
Posted in Uncategorized
Views 221 Comments 0 redd9 is offline

  



All times are GMT -5. The time now is 10:17 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration