| To Access… | Run Command |
|---|---|
| Accessibility Controls | access.cpl |
| Accessibility Wizard | accwiz |
| Add Hardware Wizard | hdwwiz.cpl |
| Add/Remove Programs | appwiz.cpl |
| Administrative Tools | control admintools |
| Adobe Acrobat (if installed) | acrobat |
| Adobe Designer (if installed) | formdesigner |
| Adobe Distiller (if installed) | acrodist |
| Adobe ImageReady (if installed) | imageready |
| Adobe Photoshop (if installed) | photoshop |
| Automatic Updates | wuaucpl.cpl |
| Bluetooth Transfer Wizard | fsquirt |
| Calculator | calc |
| Certificate Manager | certmgr.msc |
| Character Map | charmap |
| Check Disk Utility | chkdsk |
| Clipboard Viewer | clipbrd |
| Command Prompt | cmd |
| Component Services | dcomcnfg |
| Computer Management | compmgmt.msc |
| Control Panel | control |
| Date and Time Properties | timedate.cpl |
| DDE Shares | ddeshare |
| Device Manager | devmgmt.msc |
| Direct X Control Panel (if installed)* | directx.cpl |
| Direct X Troubleshooter | dxdiag |
| Disk Cleanup Utility | cleanmgr |
| Disk Defragment | dfrg.msc |
| Disk Management | diskmgmt.msc |
| Disk Partition Manager | diskpart |
| Display Properties | control desktop |
| Display Properties | desk.cpl |
| Display Properties (w/Appearance Tab Preselected) | control color |
| Dr. Watson System Troubleshooting Utility | drwtsn32 |
| Driver Verifier Utility | verifier |
| Event Viewer | eventvwr.msc |
| Files and Settings Transfer Tool | migwiz |
| File Signature Verification Tool | sigverif |
| Findfast | findfast.cpl |
| Firefox (if installed) | firefox |
| Folders Properties | folders |
| Fonts | control fonts |
| Fonts Folder | fonts |
| Free Cell Card Game | freecell |
| Game Controllers | joy.cpl |
| Group Policy Editor (XP Prof) | gpedit.msc |
| Hearts Card Game | mshearts |
| Help and Support | helpctr |
| HyperTerminal | hypertrm |
| Iexpress Wizard | iexpress |
| Indexing Service | ciadv.msc |
| Internet Connection Wizard | icwconn1 |
| Internet Explorer | iexplore |
| Internet Properties | inetcpl.cpl |
| Internet Setup Wizard | inetwiz |
| IP Configuration (Display Connection Configuration) | ipconfig /all |
| IP Configuration (Display DNS Cache Contents) | ipconfig /displaydns |
| IP Configuration (Delete DNS Cache Contents) | ipconfig /flushdns |
| IP Configuration (Release All Connections) | ipconfig /release |
| IP Configuration (Renew All Connections) | ipconfig /renew |
| IP Configuration (Refreshes DHCP & Re-Registers DNS) | ipconfig /registerdns |
| IP Configuration (Display DHCP Class ID) | ipconfig /showclassid |
| IP Configuration (Modifies DHCP Class ID) | ipconfig /setclassid |
| Java Control Panel (if installed) | jpicpl32.cpl |
| Java Control Panel (if installed) | javaws |
| Keyboard Properties | control keyboard |
| Local Security Settings | secpol.msc |
| Local Users and Groups | lusrmgr.msc |
| Logs You Out Of Windows | logoff |
| Malicious Software Removal Tool | mrt |
| Microsoft Access (if installed) | msaccess |
| Microsoft Chat | winchat |
| Microsoft Excel (if installed) | excel |
| Microsoft Frontpage (if installed) | frontpg |
| Microsoft Movie Maker | moviemk |
| Microsoft Paint | mspaint |
| Microsoft Powerpoint (if installed) | powerpnt |
| Microsoft Word (if installed) | winword |
| Microsoft Syncronization Tool | mobsync |
| Minesweeper Game | winmine |
| Mouse Properties | control mouse |
| Mouse Properties | main.cpl |
| Nero (if installed) | nero |
| Netmeeting | conf |
| Network Connections | control netconnections |
| Network Connections | ncpa.cpl |
| Network Setup Wizard | netsetup.cpl |
| Notepad | notepad |
| Nview Desktop Manager (if installed) | nvtuicpl.cpl |
| Object Packager | packager |
| ODBC Data Source Administrator | odbccp32.cpl |
| On Screen Keyboard | osk |
| Opens AC3 Filter (if installed) | ac3filter.cpl |
| Outlook Express | msimn |
| Paint | pbrush |
| Password Properties | password.cpl |
| Performance Monitor | perfmon.msc |
| Performance Monitor | perfmon |
| Phone and Modem Options | telephon.cpl |
| Phone Dialer | dialer |
| Pinball Game | pinball |
| Power Configuration | powercfg.cpl |
| Printers and Faxes | control printers |
| Printers Folder | printers |
| Private Character Editor | eudcedit |
| Quicktime (If Installed) | QuickTime.cpl |
| Quicktime Player (if installed) | quicktimeplayer |
| Real Player (if installed) | realplay |
| Regional Settings | intl.cpl |
| Registry Editor | regedit |
| Registry Editor | regedit32 |
| Remote Access Phonebook | rasphone |
| Remote Desktop | mstsc |
| Removable Storage | ntmsmgr.msc |
| Removable Storage Operator Requests | ntmsoprq.msc |
| Resultant Set of Policy (XP Prof) | rsop.msc |
| Scanners and Cameras | sticpl.cpl |
| Scheduled Tasks | control schedtasks |
| Security Center | wscui.cpl |
| Services | services.msc |
| Shared Folders | fsmgmt.msc |
| Shuts Down Windows | shutdown |
| Sounds and Audio | mmsys.cpl |
| Spider Solitare Card Game | spider |
| SQL Client Configuration | cliconfg |
| System Configuration Editor | sysedit |
| System Configuration Utility | msconfig |
| System File Checker Utility (Scan Immediately) | sfc /scannow |
| System File Checker Utility (Scan Once At The Next Boot) | sfc /scanonce |
| System File Checker Utility (Scan On Every Boot) | sfc /scanboot |
| System File Checker Utility (Return Scan Setting To Default) | sfc /revert |
| System File Checker Utility (Purge File Cache) | sfc /purgecache |
| System File Checker Utility (Sets Cache Size to size x) | sfc /cachesize=x |
| System Information | msinfo32 |
| System Properties | sysdm.cpl |
| Task Manager | taskmgr |
| TCP Tester | tcptest |
| Telnet Client | telnet |
| Tweak UI (if installed) | tweakui |
| User Account Management | nusrmgr.cpl |
| Utility Manager | utilman |
| Windows Address Book | wab |
| Windows Address Book Import Utility | wabmig |
| Windows Backup Utility (if installed) | ntbackup |
| Windows Explorer | explorer |
| Windows Firewall | firewall.cpl |
| Windows Magnifier | magnify |
| Windows Management Infrastructure | wmimgmt.msc |
| Windows Media Player | wmplayer |
| Windows Messenger | msmsgs |
| Windows Picture Import Wizard (need camera connected) | wiaacmgr |
| Windows System Security Tool | syskey |
| Windows Update Launches | wupdmgr |
| Windows Version (to show which version of windows) | winver |
| Windows XP Tour Wizard | tourstart |
| Wordpad | write |
Network and OS Administration
Tuesday, July 19, 2011
Quick Windows Commands
How to install Linux / UNIX *.tar.gz tarball files
tar.gz also known as tarball, an archive format for electronic data and software. Most Linux tarball contains a source code for software. If you are new to Linux I recommend using apt-get, rpm and yum command to install all binary packages.
Tarballs are a group of files in one file. Tarball files have the extension .tar.gz, .tgz or .tar.bz2. Most open source software use tarballs to distribute programs/source codes.
# 1: Uncompress tarball
To uncompress them, execute the following command(s) depending on the extension:
Now change directory
$ tar zxf file.tar.gz
$ tar zxf file.tgz
$ tar jxf file.tar.bz2
$ tar jxf file.tbz2Now change directory
$ ls
$ cd path-to-software/# 2: Build and install software
Generally you need to type 3 commands as follows for building and compiling software:
# ./configure
# make
# make installWhere,
- ./configure will configure the software to ensure your system has the necessary functionality and libraries to successfully compile the package
- make will compile all the source files into executable binaries.
- Finally, make install will install the binaries and any supporting files into the appropriate locations.
# 3: Read INSTALL / README file
Each tarball comes with installation and build instructions. Open INSTALL or README file for more information:
$ vi INSTALLOpen SSL
Self-Signed IIS SSL Certificates using OpenSSL
This tutorial assumes that you have a Linux box with OpenSSL installed,and that you want to create a self-signed certificate for IIS5.0
- Set up your CA (you only have to do this once)
ON THE LINUX BOX…- Create a private keyopenssl genrsa -des3 -out CA.key 1024(You’ll need to supply a passphrase. DON’T FORGET THIS!!)
- Set this to read-only for root for securitychmod 400 CA.key
- Create the CA certificateopenssl req -new -key CA.key -x509 -days 1095 -out CA.crt(Provide appropriate responses to the prompts…for Common Name, you might want to use something like “OurCompany CA”)
- Set the certificate to read-only for root for securitychmod 400 CA.crt
- Create a private key
- Obtain a CSR
ON THE IIS BOX…- Open the Internet Manager
- Select the site for which you want to create a key
- Right-click and choose Properties
- Select the “Directory Security” tab
- Click the “Server Certificate” button
- Follow the prompts to create a CSR
- Save
your CSR, then transfer it to the Linux box for further processing.
(For the following steps, we’ll refer to your CSR as “new.csr”)
- Sign the CSR
ON THE LINUX BOX…- Sign the CSR (all of this on one line)openssl x509 -req -days 365 -in new.csr -CA CA.crt
-CAkey CA.key -CAcreateserial -out new.crt - Transfer the new.crt file back to the IIS box
- Sign the CSR (all of this on one line)
- Install self-signed certificate
ON THE IIS BOX… - Open the Internet Manager
- Select the site to install the key
- Right-click and choose properties
- Select the “Directory Security” tab
- Click the “Server Certificate” button
- Specify that you want to complete the pending request
- Select the .crt file that you just transferred
- 1. Internet Information Services -> select the site -> right click -> Properties
2. Directory Security -tab -> Secure communications -frame -> Edit…
3. Select “Enable certificate trust list”, click New… -> Next
4. Add from file -> use CA.crt -> Next
5. Write something to the Name and Description, if you like. -> Next -> Finish
Reference websites:
Few Linux Commands Copied :)
- copy files from one linux server to another through shell
$ scp user@from_computer:dir/filename user@to_computer:dir/filename
- open shell to another linux machine from one through shell
$ ssh user@to_computer
- Prints the owner of every file or directory in the current directory. The AWK syntax is simply “print the 3rd field in every line of data”
ls -l | awk '{print $3}' - To get the owner of only one file (filename):
ls -l | grep filename | awk '{print $3}' - To compress a folder:
zip -r target.zip folder/
- User creation
useradd username
- Change user password
passwd username
- Add user to a group
usermod -g grpname username
- Import SQL script to an empty mysql database
mysql -u root -p database_name < script_file.sql
- Unfreeze vi editor in terminal window when frozen because of ctrl+S action
press ctrl+q
- Reboot linux server remotely
sudo reboot
- Shut down linux server remotely
sudo shutdown -h now
- Kill a process
top type k to kill a process. You will be prompted for the PID of the task, and the signal to send to it. For a normal kill, send signal 15. For a sure, but rather abrupt, kill, send signal 9. The default signal, as with kill(1), is 15, SIGTERM. This command is not available in secure mode.
- To close port – 80 in following example
fuser -k 80/tcp
- To display linux distribution
1cat /etc/issue
Subscribe to:
Comments (Atom)