Using terminal

Discussion in 'Mac Basics and Help' started by abz1981, Jan 17, 2014.

  1. abz1981 macrumors 65816

    Joined:
    Jan 3, 2011
    #1
    Hi all

    I am trying to completely remove/uninstall a VPN client from PrivateInternetAccess.com I have used there service and installed the mac os client when I used there vpn. I have dragged and dropped the application for this into my trash can and deleted it. However I spoke to PrivateInternetAccess.com via there live chat and they also asked me to do the following:

    Open a Terminal Window
    Type the following command into Terminal: dscacheutil -flushcache;sudo killall -HUP mDNSResponder
    Press enter. This should allow you to connect normally with the VPN again.
    If not, please try uninstalling and reinstalling our client. Here is how you can delete the application:
    1. Go into your Applications folder, and drag Private Internet Access.app to the Trashbin. Empty the Trashbin after doing this.
    2. Open Terminal
    3. Type: rm -rf ~/.pia_manager/
    4. Press enter. If the command is successful, there will be no confirmation, it will simply go to a new line in the Terminal window.
    Please make sure to complete step 3 very carefully, and it will be removed.


    does this sound right to you? i never used terminal before. so don't want to end up doing something wrong on my mba.
     
  2. MacUser2525 macrumors 68000

    MacUser2525

    Joined:
    Mar 17, 2007
    Location:
    Canada
    #2
    Looks correct for an uninstall of that particular app for step 3 I would go with rm -rf ~/.pia_manager to get rid of the hidden directory instead of just its contents as the suggested command does.
     
  3. abz1981 thread starter macrumors 65816

    Joined:
    Jan 3, 2011
    #3
    thanks. but i should only be following steps 1-4 yes?

    because this part: Open a Terminal Window
    Type the following command into Terminal: dscacheutil -flushcache;sudo killall -HUP mDNSResponder
    Press enter. This should allow you to connect normally with the VPN again.
    If not, please try uninstalling and reinstalling our client.

    seems to suggest its installing the client, when i don't want it anymore and want to remove it?
     
  4. Alrescha macrumors 68020

    Joined:
    Jan 1, 2008
    #4
    The commands are equivalent.

    A.
     
  5. MacUser2525 macrumors 68000

    MacUser2525

    Joined:
    Mar 17, 2007
    Location:
    Canada
    #5
    No you want that part it is clearing the DNS cache so you will have no problems resolving IP address afterwards. You want to do that regardless as you do not want any of its leftovers in the cache messing with that.

    ----------

    I like to do it properly with no ambiguity whatsoever, no sense setting someone up for failure later when they need to do a different command again.
     
  6. Alrescha macrumors 68020

    Joined:
    Jan 1, 2008
    #6
    I'm not sure what you mean. "rm -rf directory/" removes the contents and the directory. Not just the contents as you claimed. The danger in letting your statement stand is that someday someone may leave the trailing slash and expect the directory to still be there when the command has executed.

    A.
     
  7. MacUser2525 macrumors 68000

    MacUser2525

    Joined:
    Mar 17, 2007
    Location:
    Canada
    #7
    Oh yeah the nitpickers around here always have justification for it.
     
  8. abz1981 thread starter macrumors 65816

    Joined:
    Jan 3, 2011
    #8
    hey thanks for the reply and everyone else too.

    This is what I have done the above and this is what terminal shows, as attached image. re-installed the client first before I did the above, because I had moved it to trash can before.

    See if this looks normal, if you don't mind:

    private1.jpg
     

Share This Page