I want to be able to quickly start smbclient to a specific directory without typing or copying it to the shell command line, but just sticking it in a script doesn't seem to work...#!/bin/cshsmbclient -W blah -U name -D really long directory location server/serviceI've made it executable, but when I run it via ./smbcommand it does nothing. Normally if I execute it from the command line, it asks for a password.
How do I start smbclient from a script in Linux?
shell script;csh