The smbclient command line application included in Backtrack Linux is a staple for pentesting. I would imagine anyone that has done a pentest has used it to quickly verify SMB (Server Message Block) or CIFS (Common Internet File System) shares. The smbclient manpage describes it as a FTP-like client to access SMB/CIFS resources on servers. Below we describe varios smbclient commands in details to provide a basic understanding of its capabilities and what output will look like when using this tool in Backtrack Linux.
The best way I have found to emulate Linux commands for Windows is by installing CYGWIN. This is an application that will run on pretty much all Windows machines and provides a ton of Linux type commands. After installing CYGWIN you will need to set your path as noted below.