commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
If the password for the share your trying to mount contains special characters you can use URL escape characters.
The above command uses an example as follows:
password: [email protected]
URL Encoded password: p%40ss
All credit goes to Richard York:
Also check out this URL Decoder/Encoder to convert your passwords.
Control (stop, start, restart) a Windows Service from a Linux machine which has the `net` command (provided by samba).
It will only work if the service NETSEND in the Windows machine is enabled.
the middle command between the ; and ; is the vi commands that insert that line into the last line of the file, the esc with the carets is literally hitting the escape key, you have to have the smbfs package installed to do it, I use it to access my iTunes music on my mac from my linux PC's with amarok so I can play the music anywhere in the house. among other things, it allows you to access the files on that share from your computer anytime you're on that network.