Quick Linux Shell (Bash) Question

pr0gr4mm3r's picture

He has: 1,502 posts

Joined: Sep 2006

Is there a way to merge a shell command along with the required password onto one line? For example, I want to write a script to mount an sshfs point automatically if needed, but it always requests the password for the host. Is there a way to send the password along with the mount command? Thanks!