An example of connecting to a Windows share from Linux command line;
smbclient //IP_ADDRESS/SHARE_NAME -U username
smbclient //192.168.254.198/public -U username
Then you will be promted for the password and find yourself at the smb: \> prompt.
You can then use;
ls for a listing of files
get filename to grab a file
cd folder to change directory
...etc
exit to exit
You can use the below example to mount a Windows share in Linux:
sudo mount -t cifs -o username="windows user name" //corefile01.core.local/dalzell/Shared/IT /mnt/tmp
No comments:
Post a Comment
Note: only a member of this blog may post a comment.