#!/usr/bin/perl print "Enter the hostname of the computer: "; $hostname = ; print "Enter the sharname you wish to mount: "; $share = ; print "Enter a valid username: "; $username = ; print "Enter the password:"; system "stty -echo"; $password = ; system "stty echo"; print "\nSpecify a mount point?: "; $mntpoint = ; $options = "username=$username,password=$password"; system("mount", "-t", "smbfs", "-o", "$options", "//$hostname/$share", "$mntpoint");