Re: [PLUG] Is this scripting?

2014-02-18 Thread Michael Ewan
On 02/15/14 21:00, Brian Derr wrote: I'm a little late to the party and slightly off the topic of scripting, but if you're running commands on lots of machines I'd recommend 'pdsh' rather than looping with 'ssh'. https://code.google.com/p/pdsh/ On Tue, Jan 21, 2014 at 3:07 PM, Rich Shepard

Re: [PLUG] Is this scripting?

2014-02-15 Thread Brian Derr
I'm a little late to the party and slightly off the topic of scripting, but if you're running commands on lots of machines I'd recommend 'pdsh' rather than looping with 'ssh'. https://code.google.com/p/pdsh/ On Tue, Jan 21, 2014 at 3:07 PM, Rich Shepard rshep...@appl-ecosys.comwrote: On Tue,

[PLUG] Is this scripting?

2014-01-21 Thread Michael Rasmussen
A call for opinion, or a pseudo poll. Consider someone at the command line, needs some information, decides to: me@server $ for S in `cat list_of_servers`;do echo $S; ssh $S 'command'; done In your mind is that scripting? -- Michael Rasmussen Be Appropriate Follow Your Curiosity

Re: [PLUG] Is this scripting?

2014-01-21 Thread Chris Schafer
Yes but clearly kind of on the edge and out of context. On Tue, Jan 21, 2014 at 8:55 AM, Michael Rasmussen mich...@jamhome.uswrote: A call for opinion, or a pseudo poll. Consider someone at the command line, needs some information, decides to: me@server $ for S in `cat

Re: [PLUG] Is this scripting?

2014-01-21 Thread Paul Heinlein
On Tue, 21 Jan 2014, Michael Rasmussen wrote: A call for opinion, or a pseudo poll. Consider someone at the command line, needs some information, decides to: me@server $ for S in `cat list_of_servers`;do echo $S; ssh $S 'command'; done In your mind is that scripting? In my mind, I've

Re: [PLUG] Is this scripting?

2014-01-21 Thread Russell Johnson
Yes. Sent from my iPhone On Jan 21, 2014, at 8:55, Michael Rasmussen mich...@jamhome.us wrote: A call for opinion, or a pseudo poll. Consider someone at the command line, needs some information, decides to: me@server $ for S in `cat list_of_servers`;do echo $S; ssh $S

Re: [PLUG] Is this scripting?

2014-01-21 Thread Russell Johnson
Most of my programming friends accept scripting (perl, bash, python, etc.) as programming. On Jan 21, 2014, at 9:16 AM, Paul Heinlein heinl...@madboa.com wrote: On Tue, 21 Jan 2014, Michael Rasmussen wrote: A call for opinion, or a pseudo poll. Consider someone at the command line,

Re: [PLUG] Is this scripting?

2014-01-21 Thread Joe Shisei Niski
What's the broader context for the questions (both scripting and programming)? Out of context, i'd agree that the examples are indeed scripting and programming. If you were applying for a job that required scripting and Perl programming, the examples would merely be the start of a conversation.

Re: [PLUG] Is this scripting?

2014-01-21 Thread Rich Shepard
On Tue, 21 Jan 2014, Russell Johnson wrote: Most of my programming friends accept scripting (perl, bash, python, etc.) as programming. Which makes sense because programming is telling a machine (a computer in this case) what to do by following a set of commands. Rich

Re: [PLUG] Is this scripting?

2014-01-21 Thread Eric Wilhelm
# from Rich Shepard on Tuesday 21 January 2014: Most of my programming friends accept scripting (perl, bash, python, etc.) as programming. Which makes sense because programming is telling a machine (a computer in this case) what to do by following a set of commands. Programming is Hard,

Re: [PLUG] Is this scripting?

2014-01-21 Thread Michael Rasmussen
Michael Rasmussen wrote: A call for opinion, or a pseudo poll. Consider someone at the command line, needs some information, decides to: me@server $ for S in `cat list_of_servers`;do echo $S; ssh $S 'command'; done In your mind is that scripting? There were a couple of calls for

Re: [PLUG] Is this scripting?

2014-01-21 Thread Paul Heinlein
On Tue, 21 Jan 2014, Paul Heinlein wrote: perl -e 'foreach $num (1 .. 20) {print x x $num, \n;}' which i've turned into something, er, useful, for your viewing pleasure: perl -e 'for $n (1..8,2,2) {$l=x x $n; printf %10s%-10s\n,$l,$l;}' -- Paul Heinlein heinl...@madboa.com 45°38' N,

Re: [PLUG] Is this scripting?

2014-01-21 Thread Joe Shisei Niski
IMHO, grep TERM hairy_big_log_file.log | grep -v term2 | less is a script in that it condenses 3 distinct commands into one operation. OTOH, i think you may want to keep looking... at least for someone within the ops center who's motivated to up their skills.

Re: [PLUG] Is this scripting?

2014-01-21 Thread Rich Shepard
On Tue, 21 Jan 2014, Joe Shisei Niski wrote: OTOH, i think you may want to keep looking... at least for someone within the ops center who's motivated to up their skills. Or, don't tell them it's scripting, but a set of linked commands on one line. :-) Rich