Things I Forget
more commands with xargs
grep -o 'example[0-9]\.com' ~/.ssh/config | xargs -I§ ssh -o connecttimeout=2 § sh -c '"printf \"%s %s\n\" \"$(uptime)\" \"$(hostname)\"" || :'
xargs arguments
xargs -I % some_command % <other_args>
Newer Posts
Home
Subscribe to:
Posts (Atom)