What is this?
From advanced Bash tricks to Python gotchas to MySQL tutorials, this blog covers various topics in programming and systems administration. Find out how to get more done and have fun! Keep up with the latest by subscribing to the RSS feed!About the Author
This is the tech blog of Samuel Huckins. You can check out my homepage and other websites below, or send me a message here.-
Recent Posts
Post categories
Tags
Apache Apple Bash bookmarks CLI command database Desktop disk editor efficiency Excel filesystem firefox graph graphing hardware HTML information keyboard Launchy Linux logging migration Mobile monitoring MySQL PDF Programming putty Python Ruby scripting Security ssh subversion svn sysadmin Trac Ubuntu vim Vista web web applications WindowsBlogroll
Handy Links
My Sites
My del.icio.us
- Posts 191
- Words in Posts 69,962
- Comments 482
Tag Archives: Bash
Useful Bash functions to determine OS and more
In a number of my Bash aliases I need to check two constants: what sort of OS I’m on and whether it’s a production box or not. I use the former for aliases that allow me to install and search … Continue reading
Useful ways to list directory contents
The ls command becomes second nature once you work in a Linux command line environment for any appreciable period of time. Commonly, it seems, people simply stick with the plain vanilla command, without exploring its rich options, as well as … Continue reading
Easily sum matching file line counts
This command will return the number of total lines contained in files ending in .py in the directory it is run in, as well as subdirectories: 12find . -type f -iname *py | xargs -I str wc -l str | … Continue reading
vim for Bash scripting: A happier union
Two factors recently caused me to look less than positively toward writing Bash scripts. First, I have started actively using Python more, and performing tasks in it that I would have previously written in Bash. Second, I came across a … Continue reading
Improving command line efficiency via Bash history
If you work in Bash with any frequency, hopefully you collect aliases to make your life easier. Complicated and highly useful commands should be saved and re-used so that you can get to the information you need in the least … Continue reading







