Problem I’ve been working on ubuntu since many years but not quite familiar with bash scripting. My development tools involve […]
Tag: unix
Script to record an inventory of a backup
Problem This is a script designed to make an inventory file which records the contents of a directory allowing verification […]
checksum hash verification functions for bash scripts
Problem just a little script, or a bit of a template of one that I used to submit an assignment. […]
Making time lapse screenshots using Bash
Problem My experience in bash is… well, around the Bourne shell on AIX. I wrote a semi-complex script in Bash, […]
Linux HDD/CPU Temperature Logging Bash Script to run every minute in crontab
Problem I wrote a simple script to log HDD and CPU temps to a log file. If those temperatures reach […]
Security feedback sought on Perl code running command on unsafe filename in Unix env
Problem I’m looking for security feedback on the following fully functional code. The code is trying to safely use the […]
Unix shell function for adding directories to PATH
Problem Adding a directory to the PATH in Unix/Linux is a very common task. However, what if the directory is […]
Bash code to install bootstrap in a Ruby on Rails repository
Problem Wrote some code to install bootstrap (latest) in a newly created rails application. update: fixed a typo yarn add […]
Find-grep-sed for project-wide search & replace
Problem I always forget how to do this efficiently with Vim’s arglist. Drawing inspiration from a post over at Stack […]
Shell script to archive files to AWS S3
Problem This is a simple script that moves files to S3 if they are > 14 days old. It ignores […]
- 1
- 2