Pipes in Fish Shell?

Just messing around really :smiley:

In bash I have a snippet I use a lot:

sshfs -o password_stdin htpc@htpc-seaton:/media/10tb /home/xircon/ssDS -p 3461 <<< '<PASSWORD>' 

How do I do this in fish? (piping stdin - <<<)

Try just using an ordinary pipe.

echo '<PASSWORD>' | sshfs -o password_stdin htpc@htpc-seaton:/media/10tb /home/xircon/ssDS -p 3461

I was sure I had tried that :blush:

You can also take a look at the ‘psub’ fish command.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.