{"id":39296,"date":"2016-12-27T10:49:51","date_gmt":"2016-12-27T16:49:51","guid":{"rendered":"https:\/\/eshop.macsales.com\/blog\/?p=39296"},"modified":"2017-01-04T12:32:39","modified_gmt":"2017-01-04T18:32:39","slug":"tech-101-introduction-to-the-macs-terminal-app-part-one","status":"publish","type":"post","link":"https:\/\/eshop.macsales.com\/blog\/39296-tech-101-introduction-to-the-macs-terminal-app-part-one\/","title":{"rendered":"Tech 101: Introduction to the Mac&#8217;s Terminal App, Part One"},"content":{"rendered":"<p>Terminal may be one of the least used but most powerful apps included with a Mac. At first glance, Terminal seems to be the antithesis of the Mac&#8217;s friendly GUI (Graphical User Interface), presenting instead a simple command line interface that harkens back to the days of glowing CRTs with green, amber, or whitish text, connected to some distant computer system.<\/p>\n<figure id=\"attachment_39297\" aria-describedby=\"caption-attachment-39297\" style=\"width: 640px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/DefaultTerminal1280.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-39297\" src=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/DefaultTerminal1280.jpg\" alt=\"(The default Terminal window, with black text on a white background.)\" width=\"640\" height=\"393\" srcset=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/DefaultTerminal1280.jpg 1280w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/DefaultTerminal1280-195x120.jpg 195w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/DefaultTerminal1280-284x174.jpg 284w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/DefaultTerminal1280-190x117.jpg 190w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/DefaultTerminal1280-750x460.jpg 750w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/DefaultTerminal1280-364x225.jpg 364w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/DefaultTerminal1280-195x120@2x.jpg 390w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/DefaultTerminal1280-284x174@2x.jpg 568w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/DefaultTerminal1280-190x117@2x.jpg 380w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><figcaption id=\"caption-attachment-39297\" class=\"wp-caption-text\"><strong>(The default Terminal window, with black text on a white background.)<\/strong><\/figcaption><\/figure>\n<p>The Mac&#8217;s Terminal app emulates the old terminals, and provides access to a UNIX shell, where you can issue commands to manipulate the UNIX system that underlies the Mac OS. The UNIX shell, in this case, a Bash shell, provides a command processor that can interpret text entered by the user. It&#8217;s not just simple text commands you enter, such as displaying the contents of a folder, that the Bash shell can process, but also scripts, chains of commands, piping, conditional testing, variables, and more. The entire syntax that the Bash shell understands is a bit beyond this article. If you&#8217;re interested in creating shell scripts, <a href=\"https:\/\/developer.apple.com\/library\/content\/documentation\/OpenSource\/Conceptual\/ShellScripting\/Introduction\/Introduction.html#\/\/apple_ref\/doc\/uid\/TP40004268-TP40003516-SW1\">Apple provides a developer&#8217;s guide to scripting using Terminal and the various UNIX shells<\/a>.<\/p>\n<p>In the first part of our introduction to Terminal, we&#8217;re going to look at Terminal with an eye to more basic usage, primarily as a way to modify the standard behavior of the Mac OS. We&#8217;ll also look at some basic file system manipulation as examples of ways to use Terminal. So, let&#8217;s get started with how to launch and configure Terminal for your use.<\/p>\n<p><strong>Launching and Configuring<\/strong><br \/>\nThe Terminal app is located at \/Applications\/Utilities. You can launch Terminal just like any other Mac app. Once launched, Terminal will display a window containing a title listing the current working directory, usually your home folder, the type of shell in use, such as Bash, and the window size in characters, such as 80&#215;24 (80 characters across and 24 characters or lines down).<\/p>\n<p>The working area of the Terminal window will initially contain just a few lines of text. On my Mac, it displays the last time I logged in (used Terminal), and then the Terminal command prompt, which consists of my Mac&#8217;s name, the current directory, and the currently logged in user, ending with a $ prompt.<\/p>\n<p>Just after the $ prompt is a dark rectangle that serves as Terminal&#8217;s cursor, showing the current location at which text will appear.<\/p>\n<figure id=\"attachment_39298\" aria-describedby=\"caption-attachment-39298\" style=\"width: 640px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/Terminalcdls1280.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-39298\" src=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/Terminalcdls1280.jpg\" alt=\"(Terminal after issuing the cd .. and ls commands. Note the window has been customized with a different background color.)\" width=\"640\" height=\"250\" srcset=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/Terminalcdls1280.jpg 1280w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/Terminalcdls1280-284x111.jpg 284w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/Terminalcdls1280-190x74.jpg 190w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/Terminalcdls1280-284x111@2x.jpg 568w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/Terminalcdls1280-190x74@2x.jpg 380w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><figcaption id=\"caption-attachment-39298\" class=\"wp-caption-text\"><strong>(Terminal after issuing the cd .. and ls commands. Note the window has been customized with a different background color.)<\/strong><\/figcaption><\/figure>\n<p>Let&#8217;s try our first Terminal command. At the prompt, enter:<\/p>\n<p>cd ..<\/p>\n<p>Then press enter or return on your keyboard.<\/p>\n<p>Nothing much happened, although if you look at the Terminal window title, it changed to say Users. If you look at the prompt, it changed to show that the current working directory has changed to Users.<\/p>\n<p>That&#8217;s because the cd command means to Change Directory, while the .. tells the command to go up one level in the directory hierarchy.<\/p>\n<p>Let&#8217;s try one more command, and then move on to some Terminal configuration options.<\/p>\n<p>At the prompt enter:<\/p>\n<p>ls<\/p>\n<p>Press enter or return.<\/p>\n<p>This time, the Terminal window will produce a list of items found in the Users directory. On my Mac, I see a Shared folder, along with three user account folders. If you wanted to examine any of these folders, you could use the cd command we tried earlier, such as cd Shared. Please note Terminal is case sensitive, so Shared is not the same folder as shared. Once you&#8217;ve moved to a new folder, use the ls command to view its contents.<\/p>\n<p>OK, let&#8217;s move on to getting Terminal to look and operate the way you want it to.<\/p>\n<p><strong>Customize Terminal<\/strong><br \/>\nTerminal has a number of customization options that you may wish to take advantage of, starting with the basic background color and text color. Terminal comes with a number of predefined profiles that set the colors used in a Terminal window. You can try each one out by selecting Shell, New Window, and then selecting a profile name from the menu.<\/p>\n<figure id=\"attachment_39299\" aria-describedby=\"caption-attachment-39299\" style=\"width: 640px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/TerminalInspector1280.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-39299\" src=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/TerminalInspector1280.jpg\" alt=\"(The Inspector is an easy way to select one of the predefined profiles for the Terminal window.)\" width=\"640\" height=\"458\" srcset=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/TerminalInspector1280.jpg 1280w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/TerminalInspector1280-168x120.jpg 168w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/TerminalInspector1280-284x203.jpg 284w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/TerminalInspector1280-190x136.jpg 190w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/TerminalInspector1280-168x120@2x.jpg 336w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/TerminalInspector1280-284x203@2x.jpg 568w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/TerminalInspector1280-190x136@2x.jpg 380w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><figcaption id=\"caption-attachment-39299\" class=\"wp-caption-text\"><strong>(The Inspector is an easy way to select one of the predefined profiles for the Terminal window.)<\/strong><\/figcaption><\/figure>\n<p>There&#8217;s an easier way to examine the various profile settings, without having to open multiple Terminal windows; instead, select Shell, Show Inspector. In the Inspector window, click the Settings button. Every premade profile will be shown; you can click on a profile and the current Terminal window will change to show the new scheme. Go ahead and click through the various profiles until you find one you like.<\/p>\n<p>If you would like to always have your Terminal window use a specific profile, here&#8217;s how to do it:<\/p>\n<p>Select Preferences from the Terminal menu.<\/p>\n<p>Select the General button in the Preferences toolbar.<\/p>\n<p>Select On startup, open: New window with profile:<\/p>\n<p>In the drop-down menu, select the Profile name you would like to use. You can always go back to the Inspector window to find the profile name you wish to use.<\/p>\n<p>You can further customize a profile by selecting the Profiles button in the toolbar.<\/p>\n<p>Select the Profile you wish to customize.<\/p>\n<p>Click the Gear button, and select Duplicate profile.<\/p>\n<p>Give the duplicate profile a new name.<\/p>\n<figure id=\"attachment_39300\" aria-describedby=\"caption-attachment-39300\" style=\"width: 640px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/TerminalPreferences1280.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-39300\" src=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/TerminalPreferences1280.jpg\" alt=\"(Profiles can be modified or new ones can be created using Terminal Preferences.)\" width=\"640\" height=\"565\" srcset=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/TerminalPreferences1280.jpg 1280w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/TerminalPreferences1280-136x120.jpg 136w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/TerminalPreferences1280-284x251.jpg 284w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/TerminalPreferences1280-190x168.jpg 190w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/TerminalPreferences1280-136x120@2x.jpg 272w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/TerminalPreferences1280-284x251@2x.jpg 568w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/TerminalPreferences1280-190x168@2x.jpg 380w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><figcaption id=\"caption-attachment-39300\" class=\"wp-caption-text\"><strong>(Profiles can be modified or new ones can be created using Terminal Preferences.)<\/strong><\/figcaption><\/figure>\n<p>The new profile will be based on the previously selected profile. You can now make changes without adversely affecting the original. We encourage you to experiment with the various settings. You can change text size, font, and color, background color, cursor style, and window size. While it&#8217;s OK to look at all the settings that can be changed, try limiting your customization to text, cursor, and window coloring for the time being. As you become more proficient with Terminal, other settings can be adjusted to meet your needs.<\/p>\n<p>Now that you&#8217;ve seen that Terminal can be customized to your needs, let&#8217;s take a look ahead to part two of our Terminal series.<\/p>\n<p><strong>More About Bash and Commands to Customize Your Mac<\/strong><br \/>\nIn the second installment of our miniseries on Terminal, we&#8217;re going to take a more detailed look at the Bash shell, including some tricks that make entering and repeating commands a simpler process, and how to create a simple script. We&#8217;re also going to take a look at a number of commands that can be used to customize your Mac, including the &#8220;defaults&#8221; system used by the Mac to store system and application preferences. You&#8217;ve probably seen the defaults command mentioned in various Mac tips and tricks that involve using the Terminal app.<\/p>\n<p>Before we move on to part two of our Introduction to the Mac&#8217;s Terminal App, we&#8217;re going to leave you with an example of the defaults command you can try out right now.<\/p>\n<p><strong>Modify the Dock to Include a Recent Items Stack<\/strong><br \/>\nAs far as the Mac OS is concerned, the Dock is just another app. As such, it has a number of preferences we can manipulate using the defaults command. You&#8217;ve already been using the defaults command every time you opened the Dock&#8217;s preference pane and made a change. In the background, a defaults command is executed to change a preference.<\/p>\n<figure id=\"attachment_39301\" aria-describedby=\"caption-attachment-39301\" style=\"width: 640px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/TerminalRecentItemsStack1280.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-39301\" src=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/TerminalRecentItemsStack1280.jpg\" alt=\"(The Terminal window after the defaults command is used to modify the Dock with a new Recent Items stack.)\" width=\"640\" height=\"381\" srcset=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/TerminalRecentItemsStack1280.jpg 1280w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/TerminalRecentItemsStack1280-202x120.jpg 202w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/TerminalRecentItemsStack1280-284x169.jpg 284w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/TerminalRecentItemsStack1280-190x113.jpg 190w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/TerminalRecentItemsStack1280-202x120@2x.jpg 404w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/TerminalRecentItemsStack1280-284x169@2x.jpg 568w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/TerminalRecentItemsStack1280-190x113@2x.jpg 380w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><figcaption id=\"caption-attachment-39301\" class=\"wp-caption-text\"><strong>(The Terminal window after the defaults command is used to modify the Dock with a new Recent Items stack.)<\/strong><\/figcaption><\/figure>\n<p>In this example, we&#8217;re going to change a preference that will enable a Recent Items stack to be created in the Dock and marked as persistent, so it will stay in the Dock from restart to restart.<\/p>\n<p>At the Terminal prompt, enter the following:<\/p>\n<p>defaults write com.apple.dock persistent-others -array-add &#8216;{ &#8220;tile-data&#8221; = { &#8220;list-type&#8221; = 1; }; &#8220;tile-type&#8221; = &#8220;recents-tile&#8221;; }&#8217;<\/p>\n<p>You can triple-click the line above to select it, and then copy\/paste the command into Terminal.<\/p>\n<p>Press enter or return to execute the command.<\/p>\n<p>You&#8217;ll need to restart the Dock application so it will read the changes to its preference files.<\/p>\n<p>Enter the following text into Terminal:<\/p>\n<p>Killall Dock<\/p>\n<p>Press enter or return.<\/p>\n<p>The Dock will relaunch itself. Look on the right-hand side of the Dock, near the Trash icon; there should be a new stack named Recent Applications. If you don\u2019t wish to keep the Recent Applications stack, you can drag it from the Dock to the Desktop to delete it.<\/p>\n<p>See you next week for part two of our Introduction to Terminal.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Terminal may be one of the least used but most powerful apps included with a Mac. At first glance, Terminal seems to be the antithesis of the Mac&#8217;s friendly GUI (Graphical User Interface), presenting instead a simple command line interface that harkens back to the days of glowing CRTs with green, amber, or whitish text, [&hellip;]<\/p>\n","protected":false},"author":97,"featured_media":39323,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"spay_email":"","footnotes":""},"categories":[4],"class_list":["post-39296","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tech-tips"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.2 (Yoast SEO v20.2) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Tech 101: Introduction to the Mac&#039;s Terminal App, Part One<\/title>\n<meta name=\"description\" content=\"Terminal may be one of the least used but most powerful apps included with a Mac. At first glance, Terminal seems to be the antithesis of the Mac&#039;s\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/eshop.macsales.com\/blog\/39296-tech-101-introduction-to-the-macs-terminal-app-part-one\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Tech 101: Introduction to the Mac&#039;s Terminal App, Part One\" \/>\n<meta property=\"og:description\" content=\"Terminal may be one of the least used but most powerful apps included with a Mac. At first glance, Terminal seems to be the antithesis of the Mac&#039;s\" \/>\n<meta property=\"og:url\" content=\"https:\/\/eshop.macsales.com\/blog\/39296-tech-101-introduction-to-the-macs-terminal-app-part-one\/\" \/>\n<meta property=\"og:site_name\" content=\"Rocket Yard\" \/>\n<meta property=\"article:published_time\" content=\"2016-12-27T16:49:51+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-01-04T18:32:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/Screen-Shot-2016-12-29-at-9.57.55-AM.png\" \/>\n\t<meta property=\"og:image:width\" content=\"683\" \/>\n\t<meta property=\"og:image:height\" content=\"394\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Tom Nelson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Tom Nelson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/eshop.macsales.com\/blog\/39296-tech-101-introduction-to-the-macs-terminal-app-part-one\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/eshop.macsales.com\/blog\/39296-tech-101-introduction-to-the-macs-terminal-app-part-one\/\"},\"author\":{\"name\":\"Tom Nelson\",\"@id\":\"https:\/\/eshop.macsales.com\/blog\/#\/schema\/person\/647f465acd469444183711d2a22648cb\"},\"headline\":\"Tech 101: Introduction to the Mac&#8217;s Terminal App, Part One\",\"datePublished\":\"2016-12-27T16:49:51+00:00\",\"dateModified\":\"2017-01-04T18:32:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/eshop.macsales.com\/blog\/39296-tech-101-introduction-to-the-macs-terminal-app-part-one\/\"},\"wordCount\":1466,\"commentCount\":10,\"publisher\":{\"@id\":\"https:\/\/eshop.macsales.com\/blog\/#organization\"},\"keywords\":[\"Apple\",\"Bash\",\"defaults\",\"Mac\",\"Mac OS\",\"macOS\",\"OS X\",\"Scripting\",\"Shell\",\"Terminal\",\"UNIX\"],\"articleSection\":[\"Tech Tips\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/eshop.macsales.com\/blog\/39296-tech-101-introduction-to-the-macs-terminal-app-part-one\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/eshop.macsales.com\/blog\/39296-tech-101-introduction-to-the-macs-terminal-app-part-one\/\",\"url\":\"https:\/\/eshop.macsales.com\/blog\/39296-tech-101-introduction-to-the-macs-terminal-app-part-one\/\",\"name\":\"Tech 101: Introduction to the Mac's Terminal App, Part One\",\"isPartOf\":{\"@id\":\"https:\/\/eshop.macsales.com\/blog\/#website\"},\"datePublished\":\"2016-12-27T16:49:51+00:00\",\"dateModified\":\"2017-01-04T18:32:39+00:00\",\"description\":\"Terminal may be one of the least used but most powerful apps included with a Mac. At first glance, Terminal seems to be the antithesis of the Mac's\",\"breadcrumb\":{\"@id\":\"https:\/\/eshop.macsales.com\/blog\/39296-tech-101-introduction-to-the-macs-terminal-app-part-one\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/eshop.macsales.com\/blog\/39296-tech-101-introduction-to-the-macs-terminal-app-part-one\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/eshop.macsales.com\/blog\/39296-tech-101-introduction-to-the-macs-terminal-app-part-one\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/eshop.macsales.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tech 101: Introduction to the Mac&#8217;s Terminal App, Part One\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/eshop.macsales.com\/blog\/#website\",\"url\":\"https:\/\/eshop.macsales.com\/blog\/\",\"name\":\"Rocket Yard\",\"description\":\"Your source for expert tips, special deals, commentary, reviews, and the latest tech news.\",\"publisher\":{\"@id\":\"https:\/\/eshop.macsales.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/eshop.macsales.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/eshop.macsales.com\/blog\/#organization\",\"name\":\"OWC\",\"url\":\"https:\/\/eshop.macsales.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/eshop.macsales.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2020\/06\/rocket-yard-logo-round.png\",\"contentUrl\":\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2020\/06\/rocket-yard-logo-round.png\",\"width\":1024,\"height\":1024,\"caption\":\"OWC\"},\"image\":{\"@id\":\"https:\/\/eshop.macsales.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/eshop.macsales.com\/blog\/#\/schema\/person\/647f465acd469444183711d2a22648cb\",\"name\":\"Tom Nelson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/eshop.macsales.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/cb537829ec9582eb81bd2dcf5c7e88d981ed66bd6f65dd36508faf46d38ba5a9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/cb537829ec9582eb81bd2dcf5c7e88d981ed66bd6f65dd36508faf46d38ba5a9?s=96&d=mm&r=g\",\"caption\":\"Tom Nelson\"},\"description\":\"Tom has been an enthusiastic Mac user since the Mac Plus. He\u2019s also been known to dabble in the dark side, otherwise known as Windows, and has a well-deserved reputation for being able to explain almost anything to anybody. Tom\u2019s background includes more than 30 years as an engineer, programmer, network manager, software tester, software reviewer, database designer, and computer network and systems designer. His online experience includes working as a sysop, forum leader, writer, and software library manager.\",\"sameAs\":[\"http:\/\/rocketyard.com\"],\"url\":\"https:\/\/eshop.macsales.com\/blog\/author\/tom-n\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Tech 101: Introduction to the Mac's Terminal App, Part One","description":"Terminal may be one of the least used but most powerful apps included with a Mac. At first glance, Terminal seems to be the antithesis of the Mac's","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/eshop.macsales.com\/blog\/39296-tech-101-introduction-to-the-macs-terminal-app-part-one\/","og_locale":"en_US","og_type":"article","og_title":"Tech 101: Introduction to the Mac's Terminal App, Part One","og_description":"Terminal may be one of the least used but most powerful apps included with a Mac. At first glance, Terminal seems to be the antithesis of the Mac's","og_url":"https:\/\/eshop.macsales.com\/blog\/39296-tech-101-introduction-to-the-macs-terminal-app-part-one\/","og_site_name":"Rocket Yard","article_published_time":"2016-12-27T16:49:51+00:00","article_modified_time":"2017-01-04T18:32:39+00:00","og_image":[{"width":683,"height":394,"url":"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/Screen-Shot-2016-12-29-at-9.57.55-AM.png","type":"image\/png"}],"author":"Tom Nelson","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Tom Nelson","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/eshop.macsales.com\/blog\/39296-tech-101-introduction-to-the-macs-terminal-app-part-one\/#article","isPartOf":{"@id":"https:\/\/eshop.macsales.com\/blog\/39296-tech-101-introduction-to-the-macs-terminal-app-part-one\/"},"author":{"name":"Tom Nelson","@id":"https:\/\/eshop.macsales.com\/blog\/#\/schema\/person\/647f465acd469444183711d2a22648cb"},"headline":"Tech 101: Introduction to the Mac&#8217;s Terminal App, Part One","datePublished":"2016-12-27T16:49:51+00:00","dateModified":"2017-01-04T18:32:39+00:00","mainEntityOfPage":{"@id":"https:\/\/eshop.macsales.com\/blog\/39296-tech-101-introduction-to-the-macs-terminal-app-part-one\/"},"wordCount":1466,"commentCount":10,"publisher":{"@id":"https:\/\/eshop.macsales.com\/blog\/#organization"},"keywords":["Apple","Bash","defaults","Mac","Mac OS","macOS","OS X","Scripting","Shell","Terminal","UNIX"],"articleSection":["Tech Tips"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/eshop.macsales.com\/blog\/39296-tech-101-introduction-to-the-macs-terminal-app-part-one\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/eshop.macsales.com\/blog\/39296-tech-101-introduction-to-the-macs-terminal-app-part-one\/","url":"https:\/\/eshop.macsales.com\/blog\/39296-tech-101-introduction-to-the-macs-terminal-app-part-one\/","name":"Tech 101: Introduction to the Mac's Terminal App, Part One","isPartOf":{"@id":"https:\/\/eshop.macsales.com\/blog\/#website"},"datePublished":"2016-12-27T16:49:51+00:00","dateModified":"2017-01-04T18:32:39+00:00","description":"Terminal may be one of the least used but most powerful apps included with a Mac. At first glance, Terminal seems to be the antithesis of the Mac's","breadcrumb":{"@id":"https:\/\/eshop.macsales.com\/blog\/39296-tech-101-introduction-to-the-macs-terminal-app-part-one\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/eshop.macsales.com\/blog\/39296-tech-101-introduction-to-the-macs-terminal-app-part-one\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/eshop.macsales.com\/blog\/39296-tech-101-introduction-to-the-macs-terminal-app-part-one\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/eshop.macsales.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Tech 101: Introduction to the Mac&#8217;s Terminal App, Part One"}]},{"@type":"WebSite","@id":"https:\/\/eshop.macsales.com\/blog\/#website","url":"https:\/\/eshop.macsales.com\/blog\/","name":"Rocket Yard","description":"Your source for expert tips, special deals, commentary, reviews, and the latest tech news.","publisher":{"@id":"https:\/\/eshop.macsales.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/eshop.macsales.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/eshop.macsales.com\/blog\/#organization","name":"OWC","url":"https:\/\/eshop.macsales.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/eshop.macsales.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2020\/06\/rocket-yard-logo-round.png","contentUrl":"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2020\/06\/rocket-yard-logo-round.png","width":1024,"height":1024,"caption":"OWC"},"image":{"@id":"https:\/\/eshop.macsales.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/eshop.macsales.com\/blog\/#\/schema\/person\/647f465acd469444183711d2a22648cb","name":"Tom Nelson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/eshop.macsales.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/cb537829ec9582eb81bd2dcf5c7e88d981ed66bd6f65dd36508faf46d38ba5a9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cb537829ec9582eb81bd2dcf5c7e88d981ed66bd6f65dd36508faf46d38ba5a9?s=96&d=mm&r=g","caption":"Tom Nelson"},"description":"Tom has been an enthusiastic Mac user since the Mac Plus. He\u2019s also been known to dabble in the dark side, otherwise known as Windows, and has a well-deserved reputation for being able to explain almost anything to anybody. Tom\u2019s background includes more than 30 years as an engineer, programmer, network manager, software tester, software reviewer, database designer, and computer network and systems designer. His online experience includes working as a sysop, forum leader, writer, and software library manager.","sameAs":["http:\/\/rocketyard.com"],"url":"https:\/\/eshop.macsales.com\/blog\/author\/tom-n\/"}]}},"jetpack_featured_media_url":"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2016\/12\/Screen-Shot-2016-12-29-at-9.57.55-AM.png","jetpack_shortlink":"https:\/\/wp.me\/pmPaT-adO","_links":{"self":[{"href":"https:\/\/eshop.macsales.com\/blog\/wp-json\/wp\/v2\/posts\/39296","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eshop.macsales.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eshop.macsales.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eshop.macsales.com\/blog\/wp-json\/wp\/v2\/users\/97"}],"replies":[{"embeddable":true,"href":"https:\/\/eshop.macsales.com\/blog\/wp-json\/wp\/v2\/comments?post=39296"}],"version-history":[{"count":3,"href":"https:\/\/eshop.macsales.com\/blog\/wp-json\/wp\/v2\/posts\/39296\/revisions"}],"predecessor-version":[{"id":39376,"href":"https:\/\/eshop.macsales.com\/blog\/wp-json\/wp\/v2\/posts\/39296\/revisions\/39376"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/eshop.macsales.com\/blog\/wp-json\/wp\/v2\/media\/39323"}],"wp:attachment":[{"href":"https:\/\/eshop.macsales.com\/blog\/wp-json\/wp\/v2\/media?parent=39296"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eshop.macsales.com\/blog\/wp-json\/wp\/v2\/categories?post=39296"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}