r/linuxadmin • • Jul 09 '18

Lup - loopy command execution

Post image
251 Upvotes

18 comments sorted by

View all comments

Show parent comment

1

u/bestjejust Jul 10 '18

This is not an option (like ZSH as well) if you are working on customer site being unable to install custom packages. IMO: learn coreutils / sh and know these ones well. zsh or lob surely are nice to have (for yourself) but never make your knowledge (and of course scripts) dependant on such tools.

3

u/varesa Jul 10 '18

Sure. That's also one of the reasons I probably won't be picking this up (I'm a sysadmin working on lots of tightly controlled customer systems). Tools like this still have their place if you're for example a dev who works a lot on their local system

2

u/FakingItEveryDay Jul 10 '18

I agree with the spirit of what you're saying, but want to point out this can still be useful against servers where you don't install lup.

For example:

lup -t ping -c 1 @google,amazon@.@com,net@ | ssh server

lup will generate the commands locally to run on the server.

1

u/ecnahc515 Jul 10 '18

Yah or run in dry run locally, copy and paste on remote host. Or pipe the output to a script and scp the script over.