Sunday, March 11, 2018

Control Panel Applets Command Line Commands in Windows OS

Control Panel Applet
Command
OS Version
Accessibility Options
control access.cpl
XP, Vista.7,8
10
Action Center
control /name Microsoft.ActionCenter
XP, Vista.7,8
10
control wscui.cpl

Add Hardware
control /name Microsoft.AddHardware
Vista,7,8,10
Programs and Features
control appwiz.cpl
XP, Vista, 7, 8 &10
Administrative Tools
control /name Microsoft.AdministrativeTools
Vista, 7, 8 &10
AutoPlay
control /name Microsoft.AutoPlay
Vista, 7, 8 &10
Backup and Restore Center
control /name Microsoft.BackupAndRestoreCenter
Vista, 7, 8 &10
BitLocker Drive Encryption
control /name Microsoft.BitLockerDriveEncryption
Vista, 7, 8 &10
Bluetooth Devices
control bthprops.cpl
Vista, 7, 8 &10
Color Management
control /name Microsoft.ColorManagement
Vista, 7, 8 &10
Credential Manager
control /name Microsoft.CredentialManager
Vista, 7, 8 &10
Date and Time
control /name Microsoft.DateAndTime
8, 7, Vista
control timedate.cpl
8, 7, Vista
control date/time
XP, Vista
Default Location
control /name Microsoft.DefaultLocation
7
Default Programs
control /name Microsoft.DefaultPrograms
10,8, 7, Vista
Device Manager
control /name Microsoft.DeviceManager
10,8, 7, Vista
control hdwwiz.cpl
8, 7, Vista
devmgmt.msc
8, 7, Vista, XP
Devices and Printers
control /name Microsoft.DevicesAndPrinters
10,8, 7
control printers
10,8, 7
Display
control /name Microsoft.Display
10,8, 7
control desk.cpl
XP
control desktop
XP
Ease of Access Center
control /name Microsoft.EaseOfAccessCenter
8, 7, Vista
control access.cpl
8, 7, Vista
Family Safety
control /name Microsoft.ParentalControls
8
File History
control /name Microsoft.FileHistory
10,8
Flash Player Settings Manager
control flashplayercplapp.cpl
8
Folder Options
control /name Microsoft.FolderOptions
10,8, 7, Vista
control folders
10,8, 7, Vista, XP
Fonts
control /name Microsoft.Fonts
10,8, 7, Vista
control fonts
10,8, 7, Vista, XP
Game Controllers
control /name Microsoft.GameControllers
10,8, 7, Vista
control joy.cpl
10, 8, 7, Vista, XP
Get Programs
control /name Microsoft.GetPrograms
8, 7, Vista
Getting Started
control /name Microsoft.GettingStarted
7
Home Group
control /name Microsoft.HomeGroup
10,8, 7
Indexing Options
control /name Microsoft.IndexingOptions
10, 8, 7, Vista
rundll32.exe shell32.dll,Control_RunDLL srchadmin.dll
10,8, 7, Vista, XP
Infrared
control /name Microsoft.Infrared
8, 7
control irprops.cpl
8, 7, Vista
control /name Microsoft.InfraredOptions
Vista
Internet Options

Reset IE Settings
control /name Microsoft.InternetOptions
8, 7, Vista
control inetcpl.cpl
rundll32 inetcpl.cpl ResetIEtoDefaults
10,8, 7, Vista, XP
iSCSI Initiator
control /name Microsoft.iSCSIInitiator
10,8, 7, Vista
Keyboard
control /name Microsoft.Keyboard
10,8, 7, Vista
control keyboard
10,8, 7, Vista, XP
Language
control /name Microsoft.Language
10,8
Location and Other Sensors
control /name Microsoft.LocationAndOtherSensors
10,8,7
Location Settings
control /name Microsoft.LocationSettings
8
Mail
control mlcfg32.cpl
 8, 7, Vista, XP
Mouse
control /name Microsoft.Mouse
10,8, 7, Vista
control main.cpl
10,8, 7, Vista
control mouse
10,8, 7, Vista, XP
Network and Sharing Center
control /name Microsoft.NetworkAndSharingCenter
10, 8, 7, Vista
Network Connections
control ncpa.cpl
8, 7, Vista
control netconnections
10,8, 7, Vista, XP
Network Setup Wizard
control netsetup.cpl
10,8, 7, Vista, XP
Notification Area Icons
control /name Microsoft.NotificationAreaIcons
8, 7
ODBC Data Source Administrator
control odbccp32.cpl
XP6
Offline Files
control /name Microsoft.OfflineFiles
10,8, 7, Vista
Parental Controls
control /name Microsoft.ParentalControls
7, Vista
Pen and Input Devices
control /name Microsoft.PenAndInputDevices
Vista
control tabletpc.cpl
Vista
Pen and Touch
control /name Microsoft.PenAndTouch
10,8, 7
control tabletpc.cpl
10,8, 7
People Near Me
control /name Microsoft.PeopleNearMe
7, Vista
control collab.cpl
7, Vista
Performance Information and Tools
control /name Microsoft.PerformanceInformationAndTools
8, 7, Vista
Personalization
control /name Microsoft.Personalization
10,8, 7, Vista
control desktop
10,8, 7, Vista
Phone and Modem Options
control /name Microsoft.PhoneAndModemOptions
Vista
control telephon.cpl
Vista, XP
Phone and Modem
control /name Microsoft.PhoneAndModem
10,8, 7
control telephon.cpl
10,8, 7
Power Options
control /name Microsoft.PowerOptions
10,8, 7, Vista
control powercfg.cpl
10,8, 7, Vista, XP
Printers and Faxes
control printers
XP
Printers
control /name Microsoft.Printers
Vista
control printers
Vista
Problem Reports and Solutions
control /name Microsoft.ProblemReportsAndSolutions
Vista
Programs and Features
control /name Microsoft.ProgramsAndFeatures
10, 8, 7, Vista
control appwiz.cpl
10, 8, 7, Vista
Recovery
control /name Microsoft.Recovery
8, 7
Region
control /name Microsoft.RegionAndLanguage
8
control intl.cpl
8
control international
8
Region and Language
control /name Microsoft.RegionAndLanguage
10,8,7
control intl.cpl
10, 8, 7
control international
7
Regional and Language Options
control /name Microsoft.RegionalAndLanguageOptions
10, 8 ,7 Vista
control intl.cpl
Vista
control international
Vista, XP
RemoteApp and Desktop Connections
control /name Microsoft.RemoteAppAndDesktopConnections
10,8, 7
Scanners and Cameras
control /name Microsoft.ScannersAndCameras
10,8, 7, Vista
control sticpl.cpl
XP
Scheduled Tasks
control schedtasks
XP
Screen Resolution
control desk.cpl
10,8, 7
Security Center
control /name Microsoft.SecurityCenter
Vista
control wscui.cpl
XP
Software Explorers
msascui.exe
XP
Sound
control /name Microsoft.Sound
10,8, 7
control /name Microsoft.AudioDevicesAndSoundThemes
Vista
control mmsys.cpl
10,8, 7, Vista
Sounds and Audio Devices
control mmsys.cpl
XP
Speech Recognition Options
control /name Microsoft.SpeechRecognitionOptions
Vista
Speech Recognition
control /name Microsoft.SpeechRecognition
10,8, 7
Speech
control sapi.cpl
XP
Storage Spaces
control /name Microsoft.StorageSpaces
10,8
Sync Center
control /name Microsoft.SyncCenter
10,8, 7, Vista
System
control /name Microsoft.System
10,8, 7, Vista
control sysdm.cpl
XP
System Properties
control sysdm.cpl
8, 7, Vista
Tablet PC Settings
control /name Microsoft.TabletPCSettings
8, 7, Vista
Task Scheduler
control schedtasks
8, 7, Vista
Taskbar
control /name Microsoft.Taskbar
8
rundll32.exe shell32.dll,Options_RunDLL 1
8
Taskbar and Start Menu
control /name Microsoft.TaskbarAndStartMenu
7, Vista
rundll32.exe shell32.dll,Options_RunDLL 1
7, Vista, XP
Text to Speech
control /name Microsoft.TextToSpeech
8, 7, Vista
Troubleshooting
control /name Microsoft.Troubleshooting
8, 7
User Accounts
control /name Microsoft.UserAccounts
8, 7, Vista
control userpasswords
8, 7, Vista, XP
Welcome Center
control /name Microsoft.WelcomeCenter
Vista
Windows 7 File Recovery
control /name Microsoft.BackupAndRestore
8
Windows Anytime Upgrade
control /name Microsoft.WindowsAnytimeUpgrade
7, Vista
Windows CardSpace
control /name Microsoft.CardSpace
7, Vista
control infocardcpl.cpl
7, Vista
Windows Defender
control /name Microsoft.WindowsDefender
8, 7, Vista
Windows Firewall
control /name Microsoft.WindowsFirewall
8, 7, Vista
control firewall.cpl
8, 7, Vista, XP
Windows Marketplace
control /name Microsoft.GetProgramsOnline
Vista
Windows Mobility Center
control /name Microsoft.MobilityCenter
8, 7, Vista
Windows Sidebar Properties
control /name Microsoft.WindowsSidebarProperties
Vista
Windows SideShow
control /name Microsoft.WindowsSideShow
8,7, Vista
Windows Update
control /name Microsoft.WindowsUpdate
8, 7, Vista


Saturday, November 4, 2017

Microsoft Office Professional Plus 2016 encountered an error during setup.

Finally I found the solution for this error while installing the Microsoft Office 2016 in Windows 10.



This error usually comes only when you have any old entries of Microsoft Office version stored on your system. To delete those entries Microsoft has their official tool called "o15-ctrremove" it will help you to remove all entries automatically, you can download the tool from the following link.

https://support.office.com/en-us/article/Manually-uninstall-Office-4e2904ea-25c8-4544-99ee-17696bb3027b?ui=en-US&rs=en-US&ad=US

But this tool will not delete the entry of "Office" folder in Task Scheduler.

After using the "o15-ctrremove" tool, kindly go to "Task Scheduler" and delete the "Office" folder as shown in below picture.










Now you can install the Office without any interruption.


Monday, January 2, 2017

Well-known Port Numbers


1 : TCPMUX-TCP Port Service Multiplexer
2 : CompressNET Management Utility
3 : CompressNET Compression Process
5 : Remote Job Entry
7 : Echo Protocol
9 : Discard Protocol
11 : Active Users (systat service)
13 : Daytime Protocol
15 : netstat service
17 : Quote of the Day
18 : Message Send Protocol
19 : Character Generator Protocol (CHARGEN)
20 : FTP data transfer
21 : FTP control (command)
22 : Secure Shell (SSH)
23 : Telnet protocol
24 : Priv-mail (Any private mail system)
25 : SMTP-Simple Mail Transfer Protocol
27 : NSW User System FE
34 : Remote File (RF)
35 : Any private printer server protocol
37 : TIME protocol
39 : Resource Location Protocol (RLP)
41 : Graphics
42 : nameserver, ARPA Host Name Server Protocol
42 : WINS
43 : WHOIS protocol
47 : NI FTP
49 : TACACS Login Host protocol
50 : Remote Mail Checking Protocol
51 : IMP Logical Address Maintenance
52 : XNS (Xerox Network Systems) Time Protocol
53 : Domain Name System (DNS)
54 : XNS (Xerox Network Systems) Clearinghouse
55 : ISI Graphics Language (ISI-GL)
56 : XNS (Xerox Network Systems) Authentication
56 : Route Access Protocol (RAP)
57 : Mail Transfer Protocol (MTP)
58 : XNS (Xerox Network Systems) Mail
67 : BOOTP Server; DHCP
68 : BOOTP Client; DHCP
69 : Trivial File Transfer Protocol (TFTP)
70 : Gopher protocol
71 : NETRJS protocol
72 : NETRJS protocol
73 : NETRJS protocol
74 : NETRJS protocol
79 : Finger protocol
80 : Hypertext Transfer Protocol (HTTP)
81 : Torpark-Onion routing
82 : Torpark-Control
83 : MIT ML Device
88 : Kerberos-authentication system
90 : dnsix (DoD Network Security for Information Exchange) Securit Attribute Token Map
90 : Pointcast
99 : WIP Message Protocol
101 : NIC host name
102 : ISO-TSAP (Transport Service Access Point) Class 0 protocol
104 : ACR/NEMA Digital Imaging and Communications in Medicine
105 : CCSO Nameserver Protocol (Qi/Ph)
107 : Remote TELNET Service protocol
108 : SNA Gateway Access Server
109 : Post Office Protocol v2 (POP2)
110 : Post Office Protocol v3 (POP3)
111 : ONC RPC (SunRPC)
113 : ident-Authentication Service/Identification Protocol, used by IRC servers to identify users
113 : Authentication Service (auth)
115 : Simple File Transfer Protocol (SFTP)
117 : UUCP Path Service
118 : SQL (Structured Query Language) Services
119 : Network News Transfer Protocol (NNTP)-retrieval of newsgroup messages
123 : Network Time Protocol (NTP)-used for time synchronization
135 : DCE endpoint resolution
135 : Microsoft EPMAP (End Point Mapper), also known as DCE/RPC Locator service
137 : NetBIOS NetBIOS Name Service
138 : NetBIOS NetBIOS Datagram Service
139 : NetBIOS NetBIOS Session Service
143 : Internet Message Access Protocol (IMAP)
152 : Background File Transfer Program (BFTP)
153 : SGMP, Simple Gateway Monitoring Protocol
156 : SQL Service
158 : DMSP, Distributed Mail Service Protocol
161 : Simple Network Management Protocol (SNMP)
162 : Simple Network Management Protocol Trap (SNMPTRAP)
170 : Print-srv, Network PostScript
175 : VMNET (IBM z/VM, z/OS & z/VSE - Network Job Entry(NJE))
177 : X Display Manager Control Protocol (XDMCP)
179 : BGP (Border Gateway Protocol)
194 : Internet Relay Chat (IRC)
199 : SMUX, SNMP Unix Multiplexer
201 : AppleTalk Routing Maintenance
209 : The Quick Mail Transfer Protocol
210 : ANSI Z39.50
213 : Internetwork Packet Exchange (IPX)
218 : Message posting protocol (MPP)
220 : Internet Message Access Protocol (IMAP), version 3
256 : 2DEV "2SP" Port
259 : ESRO, Efficient Short Remote Operations
264 : BGMP, Border Gateway Multicast Protocol
280 : http-mgmt
308 : Novastor Online Backup
311 : Mac OS X Server Admin (officially AppleShare IP Web administration)
318 : PKIX TSP, Time Stamp Protocol
319 : Precision time protocol event messages
320 : Precision time protocol general messages
323 : IMMP, Internet Message Mapping Protocol
350 : MATIP-Type A, Mapping of Airline Traffic over Internet Protocol
351 : MATIP-Type B, Mapping of Airline Traffic over Internet Protocol
366 : ODMR, On-Demand Mail Relay
369 : Rpc2portmap
370 : codaauth2-Coda authentication server
370 : codaauth2-Coda authentication server
370 : securecast1-Outgoing packets to NAI's servers
371 : ClearCase albd
383 : HP data alarm manager
384 : A Remote Network Server System
387 : AURP, AppleTalk Update-based Routing Protocol
389 : Lightweight Directory Access Protocol (LDAP)
401 : UPS Uninterruptible Power Supply
402 : Altiris, Altiris Deployment Client
411 : Direct Connect Hub
412 : Direct Connect Client-to-Client
427 : Service Location Protocol (SLP)
443 : HTTPS (Hypertext Transfer Protocol over SSL/TLS)
444 : SNPP, Simple Network Paging Protocol (RFC 1568)
445 : Microsoft-DS Active Directory, Windows shares
445 : Microsoft-DS SMB file sharing
464 : Kerberos Change/Set password
465 : Cisco protocol
465 : SMTP over SSL
475 : tcpnethaspsrv (Aladdin Knowledge Systems Hasp services, TCP/IP version)
497 : Dantz Retrospect
500 : Internet Security Association and Key Management Protocol (ISAKMP)
501 : STMF, Simple Transportation Management Framework-DOT NTCIP 1101
502 : asa-appl-proto, Protocol
502 : Modbus, Protocol
504 : Citadel-multiservice protocol for dedicated clients for the Citadel groupware system
510 : First Class Protocol
512 : Rexec, Remote Process Execution
512 : comsat, together with biff
513 : rlogin
513 : Who
514 : Shell-used to execute non-interactive commands on a remote system (Remote Shell, rsh, remsh)
514 : Syslog-used for system logging
515 : Line Printer Daemon-print service
517 : Talk
518 : NTalk
520 : efs, extended file name server
520 : Routing Information Protocol (RIP)
524 : NetWare Core Protocol (NCP) is used for a variety things such as access to primary NetWare server resources, Time Synchronization, etc.
525 : Timed, Timeserver
530 : RPC
531 : AOL Instant Messenger, IRC
532 : netnews
533 : netwall, For Emergency Broadcasts
540 : UUCP (Unix-to-Unix Copy Protocol)
542 : commerce (Commerce Applications)
543 : klogin, Kerberos login
544 : kshell, Kerberos Remote shell
545 : OSIsoft PI (VMS), OSISoft PI Server Client Access
546 : DHCPv6 client
547 : DHCPv6 server
548 : Apple Filing Protocol (AFP) over TCP
550 : new-rwho, new-who
554 : Real Time Streaming Protocol (RTSP)
556 : Remotefs, RFS, rfs_server
560 : rmonitor, Remote Monitor
561 : monitor
563 : NNTP protocol over TLS/SSL (NNTPS)
587 : e-mail message submission (SMTP)
591 : FileMaker 6.0 (and later) Web Sharing (HTTP Alternate, also see port 80)
593 : HTTP RPC Ep Map, Remote procedure call over Hypertext Transfer Protocol, often used by Distributed Component Object Model services and Microsoft Exchange Server
604 : TUNNEL profile, a protocol for BEEP peers to form an application layer tunnel
623 : ASF Remote Management and Control Protocol (ASF-RMCP)
631 : Internet Printing Protocol (IPP)
631 : Common Unix Printing System (CUPS)
635 : RLZ DBase
636 : Lightweight Directory Access Protocol over TLS/SSL (LDAPS)
639 : MSDP, Multicast Source Discovery Protocol
641 : SupportSoft Nexus Remote Command (control/listening): A proxy gateway connecting remote control traffic
646 : LDP, Label Distribution Protocol, a routing protocol used in MPLS networks
647 : DHCP Failover protocol
648 : RRP (Registry Registrar Protocol)
651 : IEEE-MMS
652 : DTCP, Dynamic Tunnel Configuration Protocol
653 : SupportSoft Nexus Remote Command (data): A proxy gateway connecting remote control traffic
654 : Media Management System (MMS) Media Management Protocol (MMP)
657 : IBM RMC (Remote monitoring and Control) protocol
660 : Mac OS X Server administration
665 : sun-dr, Remote Dynamic Reconfiguration
666 : Doom, first online first-person shooter
674 : ACAP (Application Configuration Access Protocol)
691 : MS Exchange Routing
692 : Hyperwave-ISP
694 : Linux-HA High availability Heartbeat
695 : IEEE-MMS-SSL (IEEE Media Management System over SSL)
698 : OLSR (Optimized Link State Routing)
699 : Access Network
700 : EPP (Extensible Provisioning Protocol)
701 : LMP (Link Management Protocol (Internet)), a protocol that runs between a pair of nodes and is used to manage traffic engineering (TE) links
702 : IRIS (Internet Registry Information Service) over BEEP (Blocks Extensible Exchange Protocol) (RFC 3983)
706 : Secure Internet Live Conferencing (SILC)
711 : Cisco Tag Distribution Protocol-being replaced by the MPLS Label Distribution Protocol
712 : Topology Broadcast based on Reverse-Path Forwarding routing protocol (TBRPF) (RFC 3684)
712 : Promise RAID Controller
720 : SMQP, Simple Message Queue Protocol
749 : Kerberos (protocol) administration
750 : rfile
750 : loadav
750 : kerberos-iv, Kerberos version IV
751 : pump
751 : kerberos_master, Kerberos authentication
752 : qrh
752 : qrh
752 : passwd_server, Kerberos Password (kpasswd) server
753 : Reverse Routing Header (rrh)
753 : Reverse Routing Header (rrh)
753 : userreg_server, Kerberos userreg server
754 : tell send
754 : krb5_prop, Kerberos v5 slave propagation
754 : tell send
760 : ns
760 : krbupdate , Kerberos registration
782 : Conserver serial-console management server
783 : SpamAssassin spamd daemon
829 : CMP (Certificate Management Protocol)
843 : Adobe Flash socket policy server
847 : DHCP Failover protocol
860 : iSCSI (RFC 3720)
873 : rsync file synchronisation protocol
888 : cddbp, CD DataBase (CDDB) protocol (CDDBP)-unassigned but widespread use
901 : Samba Web Administration Tool (SWAT)
901 : VMware Virtual Infrastructure Client (UDP from server being managed to management console)
901 : VMware Virtual Infrastructure Client (UDP from server being managed to management console)
902 : ideafarm-door 902/tcp self documenting Door: send 0x00 for info
902 : VMware Server Console (TCP from management console to server being Managed)
902 : ideafarm-door
902 : VMware Server Console (UDP from server being managed to management console)
903 : VMware Remote Console
904 : VMware Server Alternate (if 902 is in use, i.e. SUSE linux)
911 : Network Console on Acid (NCA)-local tty redirection over OpenSSH
953 : Domain Name System (DNS) RNDC Service
981 : SofaWare Technologies Remote HTTPS management for firewall devices running embedded Check Point FireWall-1 software
987 : This Secure Hypertext Transfer Protocol (HTTPS) port makes Windows SharePoint Services viewable through Remote Web Workplace
989 : FTPS Protocol (data): FTP over TLS/SSL
990 : FTPS Protocol (control): FTP over TLS/SSL
991 : NAS (Netnews Administration System)
992 : TELNET protocol over TLS/SSL
993 : Internet Message Access Protocol over SSL (IMAPS)
995 : Post Office Protocol 3 over TLS/SSL (POP3S)
999 : ScimoreDB Database System
1001 : JtoMB
1002 : Opsware agent (aka cogbot)
1023 : Reserved
1024 : Reserved


Sunday, May 1, 2016

How to take Screen Shots in Mac Machines

How to take a screenshot on your Mac
You can take screenshots of your whole screen or just part of it. Screenshots are saved automatically as .png files on your desktop.
Take a screenshot of your whole screen
1.    Press Command ()-Shift-3.
2.    Find the screenshot as a .png file on your desktop.


Take a screenshot of part of your screen
1.    Press Command ()-Shift-4. You'll see that your cursor changes to a cross-hair pointer.
2.    Move the cross-hair pointer to where you want to start the screenshot.
3.    Drag to select an area. To adjust the area, hold Shift, Option, or the Space bar while you drag.







4.    When you've selected the area you want, release your mouse or track-pad button. Or to cancel, press Escape (esc).
5.    Find the screenshot as a .png file on your desktop.
Take a screenshot of a window
1.    Press Command ()-Shift-4. You'll see that your cursor changes to a camera pointer.
2.    Press the Space bar.
3.    Move the camera pointer over the window to highlight it.
4.    Click your mouse or trackpad. Or to cancel, press Escape (esc) before you click.
5.    Find the screenshot as a .png file on your desktop.

This works with open Finder windows and most application windows.
Take a screenshot of a menu
1.    Click the menu to reveal its contents.
2.    Press Command ()-Shift-4.
3.    Drag the cross-hair pointer over the entire menu.
4.    Release your mouse or track-pad button. Or to cancel, press Escape (esc).
5.    Find the screenshot as a .png file on your desktop.
Take a screenshot of a menu without the title
1.    Click the menu to reveal its contents.
2.    Press Command ()-Shift-4.
3.    Press the Space bar. Or to cancel, press Escape (esc).
4.    Find the screenshot as a .png file on your desktop.


Cut, Copy, Paste & other common short cuts for MacBook

          Shortcut          
Description
Command-X
Cut: Remove the selected item and copy it to the Clipboard.
Command-C
Copy the selected item to the Clipboard. This also works for files in the Finder.
Command-V
Paste the contents of the Clipboard into the current document or app. This also works for files in the Finder.
Command-Z
Undo the previous command. You can then press Command-Shift-Z to Redo, reversing the undo command. In some apps, you can undo and redo multiple commands.
Command-A
Select All items. 
Command-F
Find: Open a Find window, or find items in a document.
Command-G
Find Again: Find the next occurrence of the item previously found. To find the previous occurrence, press Command-Shift-G.
Command-H
Hide the windows of the front app. To view the front app but hide all other apps, press Command-Option-H.
Command-M
Minimize the front window to the Dock. To minimize all windows of the front app, press Command-Option-M.
Command-N
New: Open a new document or window.
Command-O
Open the selected item, or open a dialog to select a file to open.
Command-P
Print the current document.
Command-S
Save the current document.
Command-W
Close the front window. To close all windows of the app, press Command-Option-W.
Command-Q
Quit the app.
Command-Option-Esc
Force Quit: Choose an app to force quit. Or press Command-Shift-Option-Esc and hold for 3 seconds to force just the front app to quit.
Command–Space bar
Spotlight: Show or hide the Spotlight search field. To perform a Spotlight search from a Finder window, press Command–Option–Space bar. If you use multiple input sources to type in different languages, these shortcuts change input sources instead of showing Spotlight.
Space bar
Quick Look: Use Quick Look to preview the selected item.
Command-Tab
Switch apps: Switch to the next most recently used app among your open apps. 
Command-Shift-Tilde (~)
Switch windows: Switch to the next most recently used window of the front app. 
Command-Shift-3
Screenshot: Take a screenshot of the entire screen.
Command-Comma (,)
Preferences: Open preferences for the front app.