Thursday, November 10, 2011

how to check your ip address in mac

Checking IP Address mac



Use Finder to open the applications folder, then Utilities, then terminal. When the terminal window opens, and the prompt appears, type "ifconfig", then press return. The IP addresses will appear on the lines that start with "inet".
Shortcut : Press Command + Space bar and type "terminal" into spotlight then return and type "Ifconfig" into the terminal and press enter.

Steps

  1. 1
    Open a terminal window so that you can type commands that are not on a menu. If you already have a terminal window open, skip to Step 5. Otherwise, click on the desktop background (not on any application).
    1. 2
      On the applications menu, click on Utilities to open the set of commands that are on the Utilties submenu.
    2. 3
      Under the Utilities folder, click on Terminal.
    3. 4
      In the terminal window, type "ifconfig" then hit return.
    4. 5
      In the output, there will be lines that include inet x.x.x.x netmask 0xffffff00 broadcast a.b.c.d
    5. 6
      The IP address of the interface is the four numbers denoted by x.x.x.x in the lines described above.
    6. 7
      There may be a line that says inet 127.0.0.1 netmask 0xff000000 This is the loopback interface, and always uses the IP address 127.0.0.1
    7. 8
      Alternatively, in Terminal, type "netstat -p tcp" and hit return. This should return far fewer lines of text so you don't have to search too much for the information.


    Tips

    • If you want to have terminal handier than looking it up in the finder, drag it to the tool dock
    • When you are finished with the terminal, you can type exit, but this will not close the window. To do that, you need to use the top menu bar, terminal -> close
    • This is for an Apple computer, for Windows, see the link below
    • If you are behind a router, and you want to see your external IP address, go to one of the sites in the External Links
    • Alternative Method: Click on Apple icon -> About This Mac -> More Info -> Network; IP Address is displayed on the right
    • Alternative Method: Apple menu -> System Preferences -> Network; select your connection type from the drop-down menu and click TCP/IP. This also provides other information such as the subnet mask and router.

    Warnings

    • When using an IP information site from an ISP that uses a transparent web proxy (such as AOL), be aware that the reported IP may be that of the ISP's web proxy and not your actual IP.








    Tips & Warnings

    • If the computer is part of a LAN, the IP address that shows is a private address (or internal). This IP address may be dynamic or static, depending on how your network is configured.
    • If the computer is connected directly to the modem, the IP address that shows will be your public IP address, the one the ISP has assigned to you.
    • You can check out your public IP (if you don't want to deal with your router) from several websites. Check out the Resources section for "What's My IP."
    • If the computer is part of a LAN, the IP address that shows is a Private address (or internal). This IP address may be dynamic or static depending on how your network is configured.
    • If the computer is connected directly to the modem, the IP address that shows will be your Public IP address, the one the ISP has assigned to you.
    • You can check out your Public IP (if you don't want to deal with your router) from several web sites. Check out the Resources Section for "What's My IP"


Monday, September 12, 2011

Uninstall xCode from MAC

Open the terminal and copy paste the below code.

sudo /Developer/Library/uninstall-devtools –mode=all

this will completely remove the xcode developer tools.

Tuesday, August 9, 2011

Alternative for browser refresh (f5) in mac

This is a solution for browser refresh (F5) in Mac machine. People who switched to mac from windows will surely put their finger first on F5 and nothing works and it really frustrates to move the mouse for just a refresh. The real alternate for refresh button (f5) in MAC is "Command + R".

The other alternative to make F5 as your refresh button in mac is to follow the below steps.

Step 1: Open system preferences.

2. Select keyboard

3. Select keyboard shortcuts.

4. Select Application short cuts

5. Select ‘Google Chrome’. Type ‘Refresh This Page’ for the menu title. Press F5 when in the Keyboard shortcut area. Click add.





Thursday, July 21, 2011

Keyboard short cuts in MAC


    Startup and Login

      command+option+O+FInvoke Open Firmware
      command+option+P+RReset PRAM
      TStartup in FireWire Target Disk Mode
      optionInvoke Startup Manager
      command+SInvoke single-user mode
      command+VInvoke verbose mode
      CBoot from CD/DVD
      XBoot into OS X (if you previously booted from OS 9 on the same volume)
      shift (immediately at startup)Safe boot
      shift (after boot screen, until login screen)Override auto-login
      shift (after login screen)Safe login
      option+escape, then click on a userPresent name/password login dialog instead of list of users

    System-wide

      option+volume up/down/muteOpen Sound preferences
      option+brightness up/downOpen Display preferences
      command+spaceCycle through active keyboard layouts/scripts
      F12Eject CD/DVD drive (hold down for two seconds)
      return or enterSelect default button in dialog (OK, Open, Save, etc.)
      escape or command+.Exit/cancel dialog
      command+shift+QLog out
      command+option+shift+QLog out without confirmation dialog
      power button (laptops) or control+eject (desktops)Bring up Restart/Sleep/Shut Down dialog
      command+option+eject (desktops)Sleep computer immediately
      command+option+escapeBring up Force Quit window
      command+control+eject (desktops)Restart immediately (chance to save changes in open documents)
      command+option+control+eject (desktops) or
      command+option+control+power (laptops)
      Shutdown immediately (chance to save changes in open documents)
      command+control+power buttonForce restart (no chance to save changes in open documents)
      hold power buttonForce shutdown (no chance to save changes in open documents)

    Universal Access (must be enabled in Universal Access preferences) 

      command+option+8Toggle zoom (screen magnification) on/off
      command+option+=Zoom in
      command+option+-Zoom out
      command+option+control+8Toggle display inversion (white-on-black) on/off
      shift (five times)Toggle Sticky Keys on/off
      option (five times)Toggle Mouse Keys on/off

    Full Keyboard Access

      control+F1Toggle Full Keyboard Access on/off
      control+F2 (or control+M)Focus keyboard control on menu bar
      control+F3 (or control+D)Focus keyboard control on Dock
      control+F4 (or control+W)Focus keyboard control on active Window or cycle to next window
      control+F5 (or control+T)Focus keyboard control on toolbar
      control+F6 (or control+U)Focus keyboard control on palette (utility window)
      control+F7In windows and dialogs, switch focus to text boxes/lists/controls
      arrow keysNavigate active item
      return, enter, or spacebarSelect highlighted item
      return or enterSelect default dialog control (OK, Yes, No, Save, Open, etc.)
      escapeCancel action, menu, or dialog

    Finder: General 

      command+JOpen View Options
      command+shift+deleteEmpty Trash (with confirmation dialog)
      command+option+shift+deleteEmpty Trash (without confirmation dialog)
      command+FBring up Find dialog
      command+KBring up Connect to Server dialog

    Finder: Files and Folders 

      command+shift+NNew Folder in active Finder window (including the Desktop)
      arrow keysNavigate items in active Finder window
      tab/shift+tabSelect next/previous file or folder (alphabetically)
      type name of file/folderSelect that file/folder
      returnEdit file/folder name
      command+OOpen selected item(s)
      command+IOpen Get Info window for selected item(s)
      command+option+IOpen File Inspector window
      command+DDuplicate selected item(s)
      command+LCreate alias(es) for selected item(s)
      command+R (for aliases)Show target of selected alias ("reveal original")
      command+TAdd selected item(s) to Favorites (creates alias in Favorites folder)
      command+deleteMove selected item(s) to Trash
      command+down arrowOpen item(s); add option key to close current folder
      command+up arrowSwitch to enclosing folder (if no windows are open, opens new window to Home); add option key to close current folder
      option+right arrow/left arrow (folders in list view)Toggle disclosure triangle for selected folder(s) open/closed
      command+option+right arrow/left arrow (folders in list view)Toggle disclosure triangle for all folder(s) open/closed

    Finder: Windows (Application shortcuts, listed below, also apply to the Finder)

      command+NNew Finder window
      command+1/2/3View active window as Icons/List/Columns
      control+tab or control+I (in list view)Change column sorting; cycles columns left to right (add shift key to cycle right to left)
      command+BShow/hide window toolbar for active window
      command+shift+C/H/I/A/FGo to Computer / Home / iDisk / Applications / Favorites in active window (a new window will be opened if necessary)
      command+shift+GBring up "Go to Folder" dialog in active window (a new window will be opened if necessary)
      command+[ or command+]Go back or forward in window view history
      command+WClose active Finder window
      command+option+WClose all Finder windows

    Finder: Volumes/Media 

      command+EEject volume/disc

    Open/Save Dialog Shortcuts

      tabSwitch between browser and text fields
      arrow keys, page up/downNavigate in browser
      command+NCreate new folder in the current directory
      command+DChange directory to Desktop
      command+shift+AChange directory to /Applications
      command+shift+CChange directory to Computer view (list of volumes)
      command+shift+FChange directory to Favorites folder
      command+shift+HChange directory to Home folder
      command+shift+IChange directory to iDisk (mounts iDisk if necessary)

    Dock (see Chapter 6)

      command+option+DToggle Dock auto-hide on/off
      command+tabCycle through active applications; each tab press while holding command changes the application once. Add the shift key to cycle backwards. As long as you keep the command key pressed, you can also quit or hide applications as you cycle through them.

    Applications, including the Finder

      command+HHide current application
      command+option+HHide all other applications
      command+MMinimize active window to the Dock
      command+option+MMinimize all windows in active application to the Dock
      command+`Cycle through current application's windows (add the shift to cycle backwards)
      command+,Open application preferences dialog (not universal yet, but becoming more common)

    Screenshot

    (By default, screenshots are saved to the Desktop in PDF format; add the control key to any of the combinations below to copy the screenshot to the clipboard instead; you can then paste it into any graphics application -- such as OS X's Preview -- and save it in any format you prefer.)
      command+shift+3Full screenshot
      command+shift+4Crosshair to allow selection of screenshot area
      command+shift+4, then spacebarCamera to capture specific screen object

    Text-related shortcuts in Cocoa applications 

      Type
      bindkey <RETURN>
      in Terminal for complete list (in the list, ^ means the control key).
      Source : homepage.mac.com

Thursday, July 7, 2011

Delete option Mac

Mac will not delete the files with just delete of the button.

You have to click on "Command + Delete" to delete the files. These are moved to Trash folder. So you can restore them if needed. Empty the trash frequently if you dont need them any more.

There is no option to permanently delete the files in MAC with out moving to trash, like the "Shift + Delete" in windows. You need to have some automators installed if you want to have permanent delete option in MAC which I feel is not preferable.

Mac - Screen shot : Windows print screen alternative

IF you are looking for an alternative to print screen(windows) in MAC then just follow below simple easy steps....

Find below options to take a screen shot of your choice....

  • Full Screen Shot - If you want to take the screen shot of the complete screen you have on screen  follow the below steps.              
                   Select keys  "Command + Shift + 3"  at once.
                   Release the keys, now a complete screen capture image of your screen will be available on your desktop. Rename it if needed.
  • Selected Screen Shot - If you want to just take a selected part of the screen shot then follow below steps.
                  Select keys  "Command + Shift + 4"  at once.                   
                  Release the keys.
                  Now you will see the mouse cursor will change to + symbol.  Start at a point on the screen from where you need screen capture and release till where you need it.   You are done, a image will be available on your desktop with the selected portion captured.          
  • Screen shot of a particular application - If you want to take a screen shot of a particular application follow below steps 
                  Select keys  "Command + Shift + 4"  at once.                   
                  Release the keys.
                  Press "Space" bar.
                  you will see a camera image on the screen. Just click it on which window you need the screen capture. You are done, an image is created on the desktop for you with the screen capture of the window.

In all the cases, keep your window on top/selected for which you are planning to take a Screen Capture. 
By default all the images will be saved on your desktop and will be given some name. You have move and rename as per your needs.