Cmd cheat sheet

Page 1

isoeh.com

https://www.isoeh.com/tutorial-details.php?is_un=NzA=

CMD Cheat Sheet Ever thought that CMD is a powerful tool for a programmer/hacker or user??? People assume it as a dumb "program", but it’s widely underestimated... Here is a small cheat sheet to using CMD for all users: 1)

Watch Star Wars Episode IV

Yes, you can watch an ASCII version of the full Star Wars Episode IV movie right in the Command Prompt window! Just open Command Prompt and execute telnet "towel.blinkenlights.nl" without quotes! The movie will start immediately. This isn't a terribly productive use of the Command Prompt, nor is it really a trick of the Command Prompt or any command, but it sure is fun! Note: The telnet command is not enabled by default in Windows 7 or Windows Vista but can be turned on by enabling Telnet Client from Windows Features in the Programs and Features applet in Control Panel. 2) Copy & Paste Easier with QuickEdit Mode How about an even easier way to copy from the Command Prompt? And a secret way to easily paste? Just right-click on the Command Prompt title bar and select Properties. On the Options tab, in the Edit Options section, check the QuickEdit Mode box and then click OK. Enabling QuickEdit Mode is like having Mark enabled all the time so selecting text to copy is really easy. But it also enables an easy way to paste into the Command Prompt: just right click once and whatever is in the clipboard is pasted in the Command Prompt window. Normally, pasting involves right-clicking and selecting Paste. 3) Find a Website's IP Address Like to know the IP address of a website? There are a few different commands you can use to find it. One is nslookup command to find the IP address of About.com. Just execute nslookup about.com and view the result. Another way to find a site's IP address is to use the ping command. Execute ping about.com and then look at the IP address between the brackets in the results shown. Using either Command Prompt trick, the result is 207.241.148.80. 4) Automatically Complete Commands with Tab Completion Tab completion is another Command Prompt trick that can save you lots of time, especially if your command has a file or folder name in it that you're not completely sure of. To use tab completion in the Command Prompt, just enter the command and then the portion of the path that you do know, if at all. Then press the tab key over and over to cycle through all of the available possibilities!!! 5) Map a Local Folder Just Like a Network Drive The net use command is used to assign shared drives on a network to your own computer as a drive letter, but did you know there's another command that can be used to do the same thing to any folder on any of your local hard


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.