0
votes
1
comments
77,407
views
Using awk to print all columns from the nth to the last
Getting a one-liner awk routine to print the nth field to the last should not be so complicated. For my wish list awk should have a function called ‘fields’ that would perform this tasks. It could have the same syntax as the substr command ie fields(5, 8) which would print fields 5 through 8. Being […]0
votes
0
comments
5,303
views
Welters Helpful Unix Administrative Scripts
Over the years I have used many scripts to perform various tasks. Some of those scripts came from the-welters website. Here you will find some great perl scripts to perform such tasks like display Cisco CDP packets to performing symaccess commands on EMC storage arrays. These scripts are distributed under standard GNU Public License terms. […]0
votes
0
comments
4,802
views
find and remove duplicates in a directory
I have a directory with multiple img files and some of them are identical but they all have different names. I need to remove duplicates but with no external tools only with a bash script. I’m a beginner in Linux. I tried nested for loop to compare md5 sums and depending on the result remove […]0
votes
0
comments
930
views