Archive for the tag 'shell'

 

 

Oct 06 2016

Processing CSV Files with Perl and Bash

Published by under Linux

Olivier, a friend of mine, had to parse a CSV file and took the opportunity to benchmark the performance of 3 programming languages.   The file contains server names and disks he needs to add up into a hash table in order to get the total disk space for each server. He assumes on his […]

No responses yet

Aug 25 2016

List AS400 User Profiles and their Default JOBQ

Published by under AS400

I want to do a bit of cleanup on our main IBM i because users jobs are running in all sort of queues. Most users have a dedicated JOBD and JOBQ, which is wrong in my humble opinion. A user’s JOBQ is defined within the user’s JOBD (Job Description). A JOBD references a JOBQ and […]

No responses yet

Jan 21 2009

Find Duplicate Files with a Shell Script

Published by under Linux

This shell script finds duplicate files in a given directory comparing their (md5) checksum. This means the content is checked and is strictly identical, rather than the filename or date of creation. This is usually useful to delete large files. ‘Find’ command option -size can help speeding up and finding the largest duplicate files.   […]

No responses yet