0
votes
1
comments
50,708
views

Using awk to print all columns from the nth to the last

  • 0.00 / 5 5
0 votes, 0.00 avg. rating (0% score)
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
4,219
views

Welters Helpful Unix Administrative Scripts

  • 0.00 / 5 5
0 votes, 0.00 avg. rating (0% score)
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
3,035
views

find and remove duplicates in a directory

  • 0.00 / 5 5
0 votes, 0.00 avg. rating (0% score)
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
669
views

Netbackup restores queued for a long time

  • 0.00 / 5 5
0 votes, 0.00 avg. rating (0% score)
Running netbackup version 7.5 on a solaris system at times has a very long queue time when trying to submit a restore job. The system has a good amount of memory and good CPU’s. Backups seem to work just fine but just getting the restores to enter the active state is crazy. Did some searching […]