I'm finding the following command very tedious to type in all the time, so I created a one line bash script called mount.bash with the following contents:
mount -t cifs //mark/C\$ -o unc=//mark\\C$,ip=10.1.1.33,user=Administrator,password=$1 /mnt/mark
I don't like the fact that I have to put my password on the command line. What can I do to to prompt for $1 if it is not provided on the command line and echo "*"'s instead of the actual characters being typed?