Email or username:

Password:

Forgot your password?
Johannes Ernst

One of my #Linux command-line superpowers that I don't think I have seen anywhere else:

% some-command $(cat)

Use with copy-paste of a multi-line text.

3 comments
[DATA EXPUNGED]
Björn Bosselmann

@J12t Isn't that equvalient to xargs?

% xargs some-command

Johannes Ernst

@bjoern I don't know how xargs deals with aliases and local env vars, and $PATH etc. So possibly. I like $(cat) because I know exactly what will happen.

Go Up