David Colon on 18 Nov 2014 13:06:07 -0800 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] PLUG W Follow-up |
First, thanks to David for the really interesting AWS talk, I know I
learned a lot. I also just read the last 10 posts in
http://tech.dcolon.org/wordpress/ too, some neat stuff!
There's a bash Cookbook recipe similar to your rename one, but you don't
need 'basename' or 'awk'. See
https://www.safaribooksonline.com/library/view/bash-cookbook/0596526784/ch17.html
or for more of it search 'bash cookbook "renaming many files"' in Google
books.
For the LVM one you might like the 'seq' command or just {1..15}. (Oh,
you used 'seq' in the BIND file post. :)
Something that didn't come up but is relevant to some of the discussions
is the ability to read and write from the clipboard. Not sure how to do
this on a Mac, but on Debian/Ubuntu/Mint:
$ sudo apt-get install xsel
$ alias gc='xsel -b' # GetClip
$ alias pc='xsel -bi' # PutClip
$ gc | sort | uniq -c | sort -rn | head | pc # Top-10 list
___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug