0

What is the <( ) syntax in shell / bash, and how do I search for it (meaning: what's it called)?

Is this related to the "heredoc" syntax?

Example: Pass a password to ssh in pure bash

sshpass -f <(printf '%s\n' your_password) ssh user@hostname 

UPDATE: see: What does "< <(command args)" mean in the shell?

3

1 Answer 1

1

From man bash:

Process substitution allows a process's input or output to be referred to using a filename. It takes the form of <(list) or >(list). The process list is run asynchronously, and its input or output appears as a filename. This filename is passed as an argument to the current command as the result of the expansion. [...]

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.