Show Remote Shares using Samba
Show remote shares of a windows host
smbclient -L ip_addr/hostname
Show remote shares of a windows host
smbclient -L ip_addr/hostname
Want to show something on your machine to someone over the web? Don’t copy it or upload it somewhere. Just run “webshare” and the current directory and everything beneath it will be served from a new web server listening on port 8000. When your pal is finished, hit control-c.
python -c "import SimpleHTTPServer;SimpleHTTPServer.test()"
For a slightly more advanced version of this server, see this article(Warning: German Article – but code is self explaining)
Use this command to mount a share on a windows system. It uses Samba.
mount -t smbfs -o username=user,password=pass //WinClient/share /mnt/share
Mount a windows network share in Linux using Samba
mount -t smbfs -o username=user,password=pass //WinClient/share /mnt/share