Last active
February 11, 2019 08:49
-
-
Save typelogic/6d886795abcd9fa302406f691c8ea5c7 to your computer and use it in GitHub Desktop.
linux windows share
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install smbclient cifs-utils | |
sudo mkdir /share/ | |
sudo mount -t cifs -o username=john,password=pass123 //somehostname/public/ /share | |
# or | |
smbclient //somehostname/public -U john | |
get testfile.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment