Re: ssh and many command line

From: Elie De Brauwer (elie.de.brauwer_at_pandora.be)
Date: 08/12/03

  • Next message: Antony Gelberg: "Re: Integrated ethernet driver for A7N8X mobo"
    To: François Chenais <francois@chenais.net>
    Date: Tue, 12 Aug 2003 15:12:58 +0200
    
    

    On Tuesday 12 August 2003 14:19, François Chenais wrote:
    > Can U try this ?
    >
    >
    > ssh helios@kafka "for name in `cat /etc/passwd | awk -F : '{ print $1}'`;
    > do echo $name; crontab -u name -l; done;"
    >
    >

    I'm starting to get your point, it seems that when starting to use the for or
    variables things start to get strange

    -> this works
    helios@kafka:~$ for name in `cat /etc/passwd | sed s/:.*//`; do echo $name;
    done
    root
    daemon
    bin
    sys
    sync
    games
    man
    -> works also
    helios@kafka:~$ ssh void@localhost "echo \"`cat /etc/passwd | sed s/:.*//`\""
    void@localhost's password:
    root
    daemon
    bin
    sys
    sync
    games
    man
    lp
    mail
    news
    uucp
    proxy
    postgres

    -> but using bash builtins fails.
    Anybody else and idea ?

    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Antony Gelberg: "Re: Integrated ethernet driver for A7N8X mobo"

    Relevant Pages

    • Malaysians overpower Cambodian booters
      ... GAMES TODAY ... Malaysia, which played the last 40 minutes minus star striker Rudie Bin ... Cambodia only had four golden opportunities to break through but could ...
      (soc.culture.cambodia)
    • Re: TECH: hi-tapping a gottlieb system 3
      ... The gist was I was wondering if sys 3's suffer like WMS machines do ... I *have* a variac that can put out 10A. ... Played a couple of games, ... Not unplayably dark, but ...
      (rec.games.pinball)
    • Re: Off Topic: Any hidden gems on Taito Legends 2?
      ... wouldn't sync for both players. ... It seems like 2D games are the worst when it comes to sync issues. ... Sega is just sitting on a pile of money with their System 16 collection. ...
      (rec.games.video.sega)
    • Re: Help!!! Display Adaptor problem!
      ... either burn out the card or have other major problems - as you're finding ... > decent home sys for free). ... > I downloaded the driver from the NVIDIA site in case this was the cause ... > is it going to make a big difference to my ability to play games (not ...
      (microsoft.public.windowsupdate)
    • Re: Play, Want, Bin 8th September 2008
      ... I?m not 100% convinced by Spore. ... longterm fun Steve?s Wight other games have, ... Spore again, and don't want to pay £5 for it from a bargain bin, seems ... Upgrade one. ...
      (uk.games.video.misc)