$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

macOS Terminal Tutorial for Beginners

December 6, 2023 | By the+gnu+linux+evangelist.

Changing Directory

  1. 3. Changing Folder

    Next practice the Change Directory directive
    Change to the Root Directory:

    cd /

    [Again find out how “cd” is an Abridgement for “Changing Directory“]
    Then Go to /usr/bin:

    cd /usr/bin

    Now to Navigate Back to the Parent use the “..” option.
    So non to Return to the Root of the Directory Tree you may play:

    cd ../..

    (It’s like to say: ‘One Step Back and then One Step Back’ again)
    Finally, to Return Home is simple as:

    cd  

    Then to Verify you are in that Location Use:

    pwd

    [In this case the “pwd” Command is a Shortcut for “Print Working Directory“]
    Hey Congratulations! you achieved the First, Step-by-step Walk into the Mac OS Directory Tree! :)

  2. Especially relevant, about the Shell Terminology, there are 3 different Entities named as “Root”:

    • The System’s Directory Tree Root: /
    • The root User’s Directory: /root
    • The root User: the SuperAdmin that can Execute Any Command