Re: [OT] run command via ssh - problem



Dan Track wrote:
The basename command works well.

At what? Unless your hostname contains a /, I don't see how basename
would do anything the way you are using it.

--
Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Oh, very funny! Now tell the one that doesn't suck.
-- Stewie Griffin

Attachment: pgpAFrGOdCPGE.pgp
Description: PGP signature

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Relevant Pages

  • Re: [OT] run command via ssh - problem
    ... However the hostname command always outputs the hostname of the server ... Not sure why you're setting a variable here but to have "basename" run ...
    (Fedora)
  • Re: [OT] run command via ssh - problem
    ... However the hostname command always outputs the hostname of the server ... Not sure why you're setting a variable here but to have "basename" run ...
    (Fedora)
  • Re: [OT] run command via ssh - problem
    ... However the hostname command always outputs the hostname of the server ... backticks (one pair for basename and another for hostname). ...
    (Fedora)