Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention. Check out this how-to article for more information.
#! /bin/bash USER=whoami mkdir ~/Desktop/HomeDrive mkdir ~/Desktop/Shared WDRIVE=`dscl /Active\\ Directory/THOMASNETDOM/All\\ Domains/ -read /users/$USER | grep SMBHome: | cut -c 10- | tr '\\' '/'` SINFO=//Server.domain.com/Shared echo $WDRIVE mount_smbfs $WDRIVE ~/Desktop/HomeDrive mount_smbfs $SINFO ~/Desktop/Shared
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.