• Mac OS X

    Move From Hosting Files From A macOS Server To A macOS Client

    Migrating file services from a macOS Server to a macOS Client can be a bit traumatic at first. Mostly because the thought itself can be a bit daunting. But once you get started, it’s pretty simple. Mostly because there’s less to do. And that can be a challenge. While there are ways to hack together solutions for network homes and other more advanced features, if you’re doing that, then you’re missing a key point here.  Let’s start by documenting our existing share points. We’ll do this with the serveradmin command and using the settings verb for the sharing service as follows: sudo serveradmin settings sharing Each share is an item…

  • Mac OS X

    Opening a Terminal Window From, Well, Terminal

    Terminal is a great application. And we usually use Terminal for editing scripts and invoking things. But what about invoking Terminal from, well, Terminal. For starters, let’s look at opening a Terminal session to the root of the boot volume (aka /): open -a Terminal / The -a option, when used with the open command, allows you to define which application that the item defined in the following position will open in. For example, you could open an XML file in Xcode open -a Xcode /usr/share/postgresql/pg_hba.conf.sample You could then open Terminal by passing other commands into the command. For example, to open a new Terminal window to the current working…

  • Mac OS X,  Ubuntu,  Unix

    Working Directory

    When I say working directory I am referring to the current directory you are in when using a command prompt.  Just an FYI.  If you are ever unsure as to what your working directory is then you can use the pwd command to print it out to the screen.