in reply to Re^5: UNIX command - remove 0 byte file
in thread UNIX command - remove 0 byte file

Actually, they are not Linux-only feature. At worst, they are GNU-only features, and the GNU file/shell utilities happely run on all commonly used Unix platforms. And they work on Windows as well.
  • Comment on Re^6: UNIX command - remove 0 byte file

Replies are listed 'Best First'.
Re^7: UNIX command - remove 0 byte file
by thor (Priest) on Sep 23, 2005 at 14:40 UTC
    You're right, of course. However, often you won't get GNU utils on a system where the vendor packaged versions of those same utils work just fine.

    thor

    Feel the white light, the light within
    Be your own disciple, fan the sparks of will
    For all of us waiting, your kingdom will come

      So, install it? One installs Perl modules as well. I've set up, and encountered on other peoples boxes a /usr/local/gnu (or something similar) many times. Because you want that GNU extension often enough to have the commonly used tools always available.
        • Because sometimes people ask "why?" instead of "why not?".
        • Because sometimes you can't always have what you want.
        • Because sometimes the hassle of trying to do such a thing is outweighed by the benefit gained.
        I'm not an administrator where I work. In order to get things like this on a production (or any other) box, I'd have to log a request, attend at least two meetings, and various other overhead. I've learned to do my job just fine in the absence of the GNU utilities. I just have to take the long way around sometimes.

        thor

        Feel the white light, the light within
        Be your own disciple, fan the sparks of will
        For all of us waiting, your kingdom will come