Fred Stluka on 18 Nov 2014 13:11:27 -0800

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] PLUG W Follow-up


I'd love a replay at West, edited for time or not.

Fred Stluka -- --
Bristle Software, Inc -- -- Glad to be of service!
Open Source: Without walls and fences, we need no Windows or Gates.
On 11/18/14 4:05 PM, David Colon wrote:
On Tue, Nov 18, 2014 at 12:41 AM, JP Vossen < <>> wrote:

    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 too, some neat stuff!

Thank you to PLUG West for having me. I really enjoyed doing the presentation but wish that I could have completed the demo. If there is interest, I can tweak the presentation for time and present it at PLUG Central or West.

    There's a bash Cookbook recipe similar to your rename one, but you
    need 'basename' or 'awk'.  See
    or for more of it search 'bash cookbook "renaming many files"' in

For the LVM one you might like the 'seq' command or just {1..15}. (Oh,
    you used 'seq' in the BIND file post. :)

Renaming many files is one of the interview questions that I frequently use. The beauty of unix is that there are many ways to accomplish a task.

    Something that didn't come up but is relevant to some of the
    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

On the mac you can use pbcopy and pbpaste:
sr35a:~ dcolon$ echo foobar | pbcopy
sr35a:~ dcolon$ pbpaste
sr35a:~ dcolon$

That reminds me of another problem that I encountered, and blogged about, with copy/paste under Linux. I had the worst time getting copy/paste working with Keepass under Linux. I eventually found autocutsel and that fixed my problem. Read about it here:


Philadelphia Linux Users Group         --
Announcements -
General Discussion  --

Philadelphia Linux Users Group         --
Announcements -
General Discussion  --