Hi gurus,
Does anyone have a df script/alias that is sort of "universal"?
Just getting frustrated to use bdf for HP-UX, df -h for Linux and Solaris, df -G/g (???) for AIX ... and to make things even worse, some are NFS mount points or with long logical volume name and it extends over two (2) rows ...
At the moment, I want to write a script that will always run "df -k" and then check for whether it is HP-UX, Linux, SunOS or AIX and then always include the option to convert the output into gigabytes. If anyone has heard of bdfmegs, am kinda wanting to write something similar to it.
I've tried Google and can't find any but bdfmegs ...
Perhaps someone from the forum had already written something to what I wanted and willing to share it to the forum?
Any feedback will be very much appreciated. Thanks in advance.