Skip to main content
Home

Main menu

  • Home
  • About
    • CV (Résumé)
    • Neil Grant
    • Uphills
  • Bash'isms
    • Howto change the extension of multiple files
    • Howto iterate through an input stream without a subshell or a read.
    • Howto loop based on some iterator
    • Howto use arrays in bash to store indexed information
    • iptohex (convert an ipaddress into hexadecimal)
    • pingmany
    • sshdel delete ssh key by line number
    • update_machine (update the config files on a machine)
  • Books
    • Mastering Puppet Second Edition
    • Troubleshooting Puppet
    • Puppet Cookbook Third Edition
    • Mastering Puppet
    • Puppet 5 Cookbook
  • Narrabilis
  • uphillian
  • Talks
Breadcrumbs

Breadcrumb

  1. Home

Bash'isms

sshdel delete ssh key by line number
pingmany, simple bash script to ping a bunch of hosts
Howto iterate through an input stream without a subshell or a read.
Howto use arrays in bash to store indexed information
update_machine (update the config files on a machine)
iptohex (convert an ipaddress into hexadecimal)
Howto change the extension of multiple files
Howto loop based on some iterator
There are probably a million better ways to do these, but these are tricks that I keep using (I'm well on my way to becoming an old crusty unix guy :-( )

Links

  • Follow @uphillian
  • github.com/uphillian
  • LinkedIn/in/thomasuphill
  • amazon.com/author/uphillian
  • Books:
    •   -Puppet 5 Cookbook - Fourth Edition
    •   -Mastering Puppet Second Edition
    •   -Mastering Puppet
    •   -Puppet Cookbook 3rd Edition
    •   -Troubleshooting Puppet

  • Springdale Linux
  • Donate towards my web hosting bill!

Author info

Thomas Uphill

Thomas is a meat popsicle. Thomas started working with UNIX while at SFU and UBC in Vancouver. Starting out on IRIX, HPUX and Solaris, he quickly transitioned to Linux in the early 90s. He has been a System Administrator and a Developer working mainly in Python and C. He's written several technology books, many dealing with Puppet and Configuration Management.

He is available for side projects under his LLC, https://uphillian.com

He lives and works in Seattle, in Pacific Northwest tradition he is an avid Mountain Biker and Hiker.