<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" version="2.0">
    <channel>
        
        <title>
            <![CDATA[ mac - freeCodeCamp.org ]]>
        </title>
        <description>
            <![CDATA[ Browse thousands of programming tutorials written by experts. Learn Web Development, Data Science, DevOps, Security, and get developer career advice. ]]>
        </description>
        <link>https://www.freecodecamp.org/news/</link>
        <image>
            <url>https://cdn.freecodecamp.org/universal/favicons/favicon.png</url>
            <title>
                <![CDATA[ mac - freeCodeCamp.org ]]>
            </title>
            <link>https://www.freecodecamp.org/news/</link>
        </image>
        <generator>Eleventy</generator>
        <lastBuildDate>Mon, 18 May 2026 10:47:54 +0000</lastBuildDate>
        <atom:link href="https://www.freecodecamp.org/news/tag/mac/rss.xml" rel="self" type="application/rss+xml" />
        <ttl>60</ttl>
        
            <item>
                <title>
                    <![CDATA[ How to Add Aliases to Terminal Commands in Linux and Mac ]]>
                </title>
                <description>
                    <![CDATA[ In this article, we'll explore a simple trick that can save you hours of typing repetitive commands in the terminal. As developers, we spend a substantial amount of time executing commands on the terminal. Whether it's navigating through directories,... ]]>
                </description>
                <link>https://www.freecodecamp.org/news/how-to-add-aliases-to-terminal-commands/</link>
                <guid isPermaLink="false">66bd9096dc6141cf21aaadb6</guid>
                
                    <category>
                        <![CDATA[ Linux ]]>
                    </category>
                
                    <category>
                        <![CDATA[ mac ]]>
                    </category>
                
                    <category>
                        <![CDATA[ terminal ]]>
                    </category>
                
                <dc:creator>
                    <![CDATA[ Kaushal Joshi ]]>
                </dc:creator>
                <pubDate>Mon, 15 Apr 2024 15:37:42 +0000</pubDate>
                <media:content url="https://www.freecodecamp.org/news/content/images/2024/04/terminal-alias.jpg" medium="image" />
                <content:encoded>
                    <![CDATA[ <p>In this article, we'll explore a simple trick that can save you hours of typing repetitive commands in the terminal.</p>
<p>As developers, we spend a substantial amount of time executing commands on the terminal. Whether it's navigating through directories, running scripts, changing Node.js versions, or version control commands, manually typing every command is a time consuming task. </p>
<p>For those who struggle to remember commands or their associated flags, this can become even more tedious.</p>
<p>Worry not! There's a simple yet powerful solution to this problem. It's called terminal aliases.</p>
<h2 id="heading-the-alias-command">The <code>alias</code> Command</h2>
<p>The <code>alias</code> command allows you to create shortcuts for existing commands, making them easier to remember and quicker to execute. When you define an alias, you are creating a new label for an existing command.</p>
<h3 id="heading-syntax-of-alias-command">Syntax of <code>alias</code> Command</h3>
<p>The syntax is straightforward: you can assign a command to a label like you'd assign a value to a variable in most programming languages.</p>
<pre><code class="lang-bash"><span class="hljs-built_in">alias</span> alias_name=<span class="hljs-string">'long command'</span>
</code></pre>
<p>Let's dissect this command to understand it better:</p>
<ul>
<li><code>alias</code>: The terminal command that enables defining an alias.</li>
<li><code>alias_name</code>: This is the name or the label you are assigning to the command. Basically, you will type this in the terminal instead of the full command.</li>
<li><code>'long command'</code>: This is the command that you want to add an alias to. Make sure that you are wrapping the command with single quotes (<code>'</code>) as almost all commands contain spaces or special characters. </li>
</ul>
<h2 id="heading-predefined-aliases">Predefined Aliases</h2>
<p>There are some predefined aliases already set within terminals. And there is a high chance that you were using them without even knowing.</p>
<p>Such aliases are defined within the system (<code>/etc/bash.bashrc</code>) or user specific (<code>~/.bsahrc</code>) shell configuration files. </p>
<p>You can find a list of all predefined aliases by executing the <code>alias</code> command without any options or flags.</p>
<pre><code>alias
</code></pre><h2 id="heading-how-to-create-an-alias-that-persists-across-sessions">How to Create an Alias that Persists Across Sessions</h2>
<p>By default, aliases only persist in the current session. That means, if you close the terminal, the alias will be erased and you cannot use it afterwards.</p>
<p>To tackle this, you must define the alias in the shell's configuration file. Shell is an interpreter that resides inside a terminal and establishes an interface between you and the operating system. Hence, accessing the correct shell as well as modifying the correct configuration file is very important.</p>
<p>Here are the configuration files for the three most commonly used shell applications:</p>
<ol>
<li><strong>Bash</strong>: <code>~/.bashrc</code></li>
<li><strong>Zsh</strong>: <code>~/.zshrc</code></li>
<li><strong>Fish</strong>: <code>~/.config/fish/config.fish</code></li>
</ol>
<p>Let's try adding a new alias to Bash.</p>
<pre><code>echo <span class="hljs-string">"alias nrd='npm run dev'"</span> &gt;&gt; ~/.bashrc
</code></pre><p>Let's dissect this command:</p>
<ul>
<li><code>echo</code>: A terminal command that lets you write content within the terminal command.</li>
<li><code>"alias ..."</code>: This is the content we talked about in the previous point. It's an alias command that adds <code>nrd</code> as an alias for the <code>npm run dev</code> command. </li>
<li><code>&gt;&gt;</code>: Tells the terminal to append the content on the left (alias command) to the file on the right. In our case, we are storing it in the bash configuration file.</li>
<li><code>~/.bashrc</code>: This is the file to which the content from the echo command will be added.</li>
</ul>
<p>Don't forget to replace <code>~/.bashrc</code> with your shell's configuration file.</p>
<h2 id="heading-how-to-create-a-dynamic-alias">How to Create a Dynamic Alias</h2>
<p>Oftentimes, you need to use repetitive commands but with some little changes based on what you want. The best example of this is Git commands. In this case, you can add a substitute to your command which would be replaced by the dynamic option/parameter while executing it in the terminal.</p>
<pre><code>alias gpll=<span class="hljs-string">'git pull --rebase origin ${branch}'</span>
</code></pre><p>While executing the command, you need to replace <code>${branch}</code> with the branch you want to pull changes from. This is how you would do it to pull changes from the <code>main</code> branch:</p>
<pre><code>gpll main
</code></pre><p>You can also add multiple substitutes to your alias. Just make sure you are writing the alias with the correct order of actual values:</p>
<pre><code>alias gpll=<span class="hljs-string">'git pull --rebase ${remote} ${branch}</span>
</code></pre><p>While executing the command, you need to replace <code>${remote}</code> and <code>${branch}</code> with appropriate values, like the following:</p>
<pre><code>gpll origin main
</code></pre><h2 id="heading-how-to-create-an-alias-for-multiple-commands">How to Create an Alias for Multiple Commands</h2>
<p>There are cases where you need to use multiple commands sequentially. You can create an alias for that as well. Separate each command by <code>&amp;&amp;</code> which executes the command on the right after the command on the left is executed.</p>
<pre><code>gpsh=<span class="hljs-string">'git pull --rebase &amp;&amp; git push'</span>
</code></pre><h2 id="heading-how-to-delete-an-alias">How to Delete an Alias</h2>
<p>If you want to delete an alias from the current session, you can use the <code>unalias</code> command. This command takes only one argument — the alias name.</p>
<pre><code>unalias my-alias-name
</code></pre><p>However, if you want to delete an alias saved in the configuration file, you need to delete it from the file itself. You can use a simple text editor like <a target="_blank" href="https://help.ubuntu.com/community/Nano">Nano</a> to do this.</p>
<pre><code>nano ~/.bashrc
</code></pre><p>Scroll down to the bottom to find all of your aliases and delete the ones you don't want anymore.</p>
<p>When you're done, you can exit the editor after saving. This is the place where I can introduce a meme about not being able to exit terminal-based text editors. But with Nano, it's very simple:</p>
<ol>
<li>Press <code>ctrl</code>+<code>x</code> if you are on Linux and <code>^</code>+<code>x</code> if you are on Mac.</li>
<li>Press <code>Y</code> to confirm changes</li>
<li>Hit Enter or return based on your operating system to save the file.</li>
</ol>
<p>See? Nothing difficult :)</p>
<h2 id="heading-caveats">Caveats</h2>
<p>There are two important things that you must remember while creating an alias.</p>
<h3 id="heading-aliases-are-shell-restricted">Aliases are shell-restricted</h3>
<p>Aliases are specific to the shell you are using. An alias created in one shell won't work in another shell.</p>
<p>You must create a new alias if you want to use it in a different session. There is no workaround to this caveat. One trick you can do is to manually save the alias to the config files of all the shells you use.</p>
<h3 id="heading-aliases-are-session-bound-by-default">Aliases are session bound by default</h3>
<p>Aliases are only available in the current session. If you open a new terminal window or log out, the alias will not be available.</p>
<p>Hence, it's recommended to always save an alias to a configuration file so you use it anytime you want.</p>
<h2 id="heading-tldr">TL;DR</h2>
<ul>
<li><code>alias</code> command adds <em>shortcuts</em> to a command or series of commands. <code>alias shortcut='existing valid command</code>.</li>
<li>Save an alias to the shell's config file so it is persisted across sessions. Every shell has a unique config file. <code>echo "nrd='npm run dev'" &gt;&gt; ~/.bashrc</code>.</li>
<li>Create a dynamic alias by substituting the dynamic value with a placeholder. The placeholder must be wrapped by <code>${}</code>. <code>alias gp='git pull origin ${branch}</code> should be executed as <code>gp main</code> in the terminal.</li>
<li>Add multiple commands to an alias by joining them with <code>&amp;&amp;</code>.</li>
<li>Delete an alias by manually erasing it from the config file. </li>
</ul>
<h2 id="heading-wrapping-up">Wrapping up</h2>
<p>I hope this blog helps you optimize your time and boosts your developer productivity. If it did, don't forget to share this with your peers so they can improve their efficiency as well.</p>
<p>What other techniques do you use to work efficiently? I would love to know more about it. I am most active on <a target="_blank" href="https://twitter.com/clumsy_coder">Twitter</a> and <a target="_blank" href="https://peerlist.io/kaushal">Peerlist</a>, if you want to say hi!</p>
<p>Until then, happy scripting! 👨‍💻</p>
 ]]>
                </content:encoded>
            </item>
        
            <item>
                <title>
                    <![CDATA[ Windows vs MacOS vs Linux – Operating System Handbook ]]>
                </title>
                <description>
                    <![CDATA[ Hi everyone! In this handbook I'm going to give a brief introduction to operating systems and compare the three main OSs that are out there nowadays. First we're going to review what an OS is and little history about them. Then, we'll review the main... ]]>
                </description>
                <link>https://www.freecodecamp.org/news/an-introduction-to-operating-systems/</link>
                <guid isPermaLink="false">66d45edbb3016bf139028d2d</guid>
                
                    <category>
                        <![CDATA[ beginners guide ]]>
                    </category>
                
                    <category>
                        <![CDATA[ Computer Science ]]>
                    </category>
                
                    <category>
                        <![CDATA[ Linux ]]>
                    </category>
                
                    <category>
                        <![CDATA[ mac ]]>
                    </category>
                
                    <category>
                        <![CDATA[ software development ]]>
                    </category>
                
                    <category>
                        <![CDATA[ Windows ]]>
                    </category>
                
                <dc:creator>
                    <![CDATA[ German Cocca ]]>
                </dc:creator>
                <pubDate>Tue, 12 Apr 2022 20:14:34 +0000</pubDate>
                <media:content url="https://www.freecodecamp.org/news/content/images/2022/04/artiom-vallat-mx9axbKqKW8-unsplash.jpg" medium="image" />
                <content:encoded>
                    <![CDATA[ <p>Hi everyone! In this handbook I'm going to give a brief introduction to operating systems and compare the three main OSs that are out there nowadays.</p>
<p>First we're going to review what an OS is and little history about them. Then, we'll review the main features and differences of the most popular operating systems (Windows, Mac, and GNU/Linux).</p>
<p>The idea here is to explore their history, how and by whom they were developed, their business models, and their pros and cons. This will give you a better idea of how they work and which one to choose.</p>
<p>I'm going to share facts as well as my personal opinions about this subject. So keep in mind some of the things I mention here will be based on my own experience and analysis of the topic.</p>
<p>I'll also provide a lot of additional articles/videos you can take a look at in case you'd like to dive into a particular subject.</p>
<p>Without further ado, let's go!</p>
<h2 id="heading-table-of-contents">Table of Contents</h2>
<ul>
<li><p><a class="post-section-overview" href="#heading-what-is-an-operating-system">What is an Operating System?</a></p>
</li>
<li><p><a class="post-section-overview" href="#heading-a-bit-of-history-of-operating-systems">A Bit of History of Operating Systems</a></p>
</li>
<li><p><a class="post-section-overview" href="#heading-the-three-main-oss">The Three Main OSs</a></p>
<ul>
<li><p><a class="post-section-overview" href="#heading-windows-operating-system">Windows Operating System</a></p>
</li>
<li><p><a class="post-section-overview" href="#heading-macos">MacOS</a></p>
</li>
<li><p><a class="post-section-overview" href="#heading-gnulinux">GNU/Linux</a></p>
<ul>
<li><p><a class="post-section-overview" href="#heading-debian">Debian</a></p>
</li>
<li><p><a class="post-section-overview" href="#heading-ubuntu">Ubuntu</a></p>
</li>
<li><p><a class="post-section-overview" href="#heading-mint">Mint</a></p>
</li>
<li><p><a class="post-section-overview" href="#heading-fedora">Fedora</a></p>
</li>
<li><p><a class="post-section-overview" href="#heading-red-hat-enterprise-linux">Red hat Enterprise Linux</a></p>
</li>
<li><p><a class="post-section-overview" href="#heading-arch-linux">Arch Linux</a></p>
</li>
</ul>
</li>
</ul>
</li>
<li><p><a class="post-section-overview" href="#heading-windows-vs-mac-vs-linux-os-comparison">Windows vs Mac vs Linux – OS Comparison</a></p>
<ul>
<li><p><a class="post-section-overview" href="#heading-file-systems">File systems</a></p>
</li>
<li><p><a class="post-section-overview" href="#heading-shells">Shells</a></p>
</li>
<li><p><a class="post-section-overview" href="#heading-package-managers">Package managers</a></p>
</li>
<li><p><a class="post-section-overview" href="#heading-cost">Cost</a></p>
</li>
<li><p><a class="post-section-overview" href="#heading-software-compatibility">Software compatibility</a></p>
</li>
<li><p><a class="post-section-overview" href="#heading-hardware-quality-and-compatibility">Hardware quality and compatibility</a></p>
</li>
<li><p><a class="post-section-overview" href="#heading-ease-of-use">Ease of use</a></p>
</li>
<li><p><a class="post-section-overview" href="#heading-security-and-stability">Security and stability</a></p>
</li>
<li><p><a class="post-section-overview" href="#heading-community-and-culture">Community and culture</a></p>
</li>
</ul>
</li>
<li><p><a class="post-section-overview" href="#heading-which-operating-system-to-choose">Which Operating System to Choose</a></p>
</li>
</ul>
<h2 id="heading-what-is-an-operating-system">What is an Operating System?</h2>
<p>According to <a target="_blank" href="https://en.wikipedia.org/wiki/Operating_system#Examples">Wikipedia</a>,</p>
<blockquote>
<p>"An operating system (OS) is software system that manages computer hardware, software resources, and provides common services for computer programs".</p>
</blockquote>
<p>You can think about an OS as an "intermediary" program that stands between your computer and all other programs you run on it. It will manage crucial basic tasks such as file management, memory management, process management, input-output management, and controlling peripheral devices.</p>
<p>OSs were created to simplify the use of computers. Nowadays any given program can worry only about executing its core features and leave all basic system functionalities to the OS. But things weren't always like this...</p>
<h2 id="heading-a-bit-of-history-of-operating-systems">A Bit of History of Operating Systems</h2>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/04/an9zgv0_700b.jpg" alt="an9zgv0_700b" width="600" height="400" loading="lazy"></p>
<p>In the old days (1940's-50's) programs were written to run on specific machines. That means a program could run on one and only one computer model.</p>
<p>If you wanted to execute the same program on a different computer model, programmers would need to write the whole program again because the hardware was configured in a different way. There was no layer of abstraction between the running program and the actual hardware.</p>
<p>Side comment: Do you ever stop and think about the work of a programmer back in those days? Programs were written in punch cards! =O It just blows my mind every time I think about it... It's amazing how low level things were at that time and the progress technology has achieved thanks to those early programmers.</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/04/837755a86e841b0452e12f0786128e02.png" alt="837755a86e841b0452e12f0786128e02" width="600" height="400" loading="lazy"></p>
<p>By the 1960's industry giants such as IBM and AT&amp;T started working on operating systems that could act as a layer of abstraction between hardware and software, which would simplify the implementation of new programs.</p>
<p>The most notorious of these projects was <a target="_blank" href="https://wikipedia.org/wiki/Unix"><strong>Unix</strong></a>, which was an OS developed in Bell labs at AT&amp;T by developers <a target="_blank" href="https://wikipedia.org/wiki/Ken_Thompson">Ken Thompson</a> (who's currently working on the development of the Go programming language) and <a target="_blank" href="https://wikipedia.org/wiki/Dennis_Ritchie">Dennis Ritchie</a> (who also created the C programming language. Freaking coding legends, yup.).</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/04/ken-thompson-dennis-ritchie-111013.jpg" alt="ken-thompson-dennis-ritchie-111013" width="600" height="400" loading="lazy"></p>
<p>Unix was hugely successful and inspired the creation of many other OSs with very similar characteristics. Those later on had a big influence on GNU/Linux and MacOS, which we're going to review in a sec.</p>
<p>By the 1980's, computers performance, accessibility, size, and price had improved to a point where the general public could buy them and use them for personal tasks. This made OSs shift from corporate-specific functions to general usage. And this takes us to the modern age...</p>
<blockquote>
<p>If you're interested in a more detailed explanation of how OSs work and their history, here's <a target="_blank" href="https://www.youtube.com/watch?v=26QPDBe-NB8">a great video</a> about it. This channel has an incredible crash course series about computer science too, I definetely recommend it! ;)</p>
</blockquote>
<h1 id="heading-the-three-main-oss">The Three Main OSs</h1>
<p>In the modern days, when speaking about personal desktop/laptop computers, the three most used operating systems are Microsoft Windows (with around 80% market share), Apple MacOS (with around 15% market share), and GNU/Linux based OSs (with around 3% market share).</p>
<p>Regarding servers, around 80% run GNU/Linux and 20% run Windows. And talking about mobile devices, around 75% run Android (which uses the Linux kernel) and 25% run IOs (which is Apple's mobile OS).</p>
<p>We're going to briefly review each of them individually and later on compare all of them to identify their differences.</p>
<h2 id="heading-windows-operating-system">Windows Operating System</h2>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/04/516094c7ed4e0--1-.jpeg" alt="516094c7ed4e0--1-" width="600" height="400" loading="lazy"></p>
<p>Windows' ancestor is <a target="_blank" href="https://wikipedia.org/wiki/MS-DOS">MS-DOS</a>, a text-based OS Microsoft released in 1981.</p>
<p>MS-DOS was developed to be compatible with IBM PCs and it was very successful. But to make it more accessible to the general public, it needed a GUI, and that's what Microsoft shipped in 1985 with <a target="_blank" href="https://wikipedia.org/wiki/Microsoft_Windows">Windows</a> 1.0.</p>
<p>Since then, Windows has released many versions, like 95, 98, XP, Vista and so on... And has made itself the most widely used operating system worldwide.</p>
<p>Windows accessibility and the fact that it comes pre-installed in most personal computers (thanks to commercial agreements) have made this OS the most popular one to this day.</p>
<p><a target="_blank" href="https://www.youtube.com/watch?v=hAJm6RYTIro">Here's a cool video</a> that summarizes Windows history in just 3 minutes.</p>
<p>And if you're interested in knowing more about the history of Microsoft, here's another <a target="_blank" href="https://www.youtube.com/watch?v=JmtPWvT1vp8">cool video about it</a>.</p>
<p>Regarding its business model, I'd say Windows strategy is to flood the market and make its system as accessible and easy to use as possible. Their primary target customer is the general user, so not much particular importance is given to customization, security, or performance.</p>
<p>Windows is just the default OS for most people. It's the first one they get to know and it allows the user to easily run daily tasks (internet browsing, gaming, office work) without much config at all.</p>
<p>Windows is a private piece of software, meaning its source code isn't publicly available. Only Microsoft has access to it.</p>
<p>At first, users had to pay if they wanted to buy a copy of Windows OS or upgrade their Windows version. But with their latest releases, Windows has adopted a freemium model. Under this business model, the user can access most of the software functionalities for free and only needs to pay to access particular features.</p>
<p>The key to understanding this shift is to understand that Microsoft has a hugely diversified portfolio of businesses (Xbox - in Gaming, Azure - in cloud platforms, LinkedIn - in social networks, Bing - in search engines, GitHub... just to name a few). By making Windows free, they keep flooding the market and make it even easier for people to adopt it as the default OS.</p>
<p>Another thing to keep in mind is that Windows shows advertisements within the operating system. So it can be thought as an advertising platform as well.</p>
<p>Yet another cool video explaining this move <a target="_blank" href="https://www.youtube.com/watch?v=AYaRzp--xyk">here</a>.</p>
<p>And a bizarre/funny/tiny-bit-scary <a target="_blank" href="https://www.youtube.com/watch?v=EtuDS0ntaJY">example of Microsoft's old school marketing style</a>.</p>
<h2 id="heading-macos">MacOS</h2>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/04/How-do-I-plug-a-USB-stick-into-this--2000-Macbook-meme-7242.png" alt="How-do-I-plug-a-USB-stick-into-this--2000-Macbook-meme-7242" width="600" height="400" loading="lazy"></p>
<p>MacOS (previously called OS X) is a line of operating systems created by Apple. It comes pre-installed on all Macintosh computers, or Macs. The first version of it was released in 1984 and it was the first OS for personal computers to come with a built-in GUI.</p>
<p>MacOS is built on top of a UNIX-like OS, which is why this MacOS shares many common characteristics with GNU/Linux-derived ones.</p>
<p>In my opinion, Apple's business model is mainly based on differentiation and exclusivity. Unlike Microsoft, Apple makes both the hardware and software of their products, and Apple's software runs only on their own machines.</p>
<p>Apple has positioned itself as a top-tier manufacturer within the technology market, aiming to offer its customers high quality hardware and software, for a considerably higher price than most of the competition.</p>
<p>Exclusivity is promoted as a perk to users too, selling the idea of being part of a select group of people when owning an Apple product.</p>
<p>The fact that you can't run any software you want in their hardware, and that you can't install their software anywhere else than a Mac machine is part of the same idea. You need to buy the whole package if you want to be part of the group.</p>
<p>Apple makes most of its software and hardware differently and many times incompatible with others. Unlike Microsoft, whose idea is to make the product as widely available and easy to get to as possible, Apple aims to make their products top quality but pricey and incompatible with other hardware.</p>
<p>Another great marketing move by Apple has been their ability to profit on the hugely charismatic and influential personalities of people like <a target="_blank" href="https://wikipedia.org/wiki/Steve_Jobs">Steve Jobs</a>. They have taken advantage of his position and trajectory as an industry leader, innovator, and somehow "rebel", to implicitly translate those same values to their products.</p>
<p>Take a look at these ads to know what I mean:</p>
<ul>
<li><p><a target="_blank" href="https://www.youtube.com/watch?v=5sMBhDv4sik">Think different ad</a></p>
</li>
<li><p><a target="_blank" href="https://www.youtube.com/watch?v=VtvjbmoDx-I">1984 ad</a></p>
</li>
</ul>
<p>If you're interested in knowing more about the history of MacOS, <a target="_blank" href="https://www.youtube.com/watch?v=c77lU0Rhq8k">here's a video about it</a>.</p>
<h2 id="heading-gnulinux">GNU/Linux</h2>
<p>GNU/Linux is the base of many open-source OSs. Unlike the examples we've just seen, GNU/Linux isn't a full operating system, but a set of programs/utilities and a kernel that many open-source OSs share.</p>
<p>Let's review each part separately.</p>
<p><a target="_blank" href="https://wikipedia.org/wiki/GNU">GNU</a> is a huge collection of programs and utilities that was started by <a target="_blank" href="https://wikipedia.org/wiki/Richard_Stallman">Richard Stallman</a>.</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/04/EInHz4EWkAQYthk.jpg" alt="EInHz4EWkAQYthk" width="600" height="400" loading="lazy"></p>
<p>The GNU project was started in 1983 with the idea of developing a free UNIX-like OS (UNIX was property of AT&amp;T so it wasn't available for free). Stallman started developing programs and utilities necessary for the OS, but one key piece was missing – the kernel.</p>
<p>The <a target="_blank" href="https://en.wikipedia.org/wiki/Kernel_(operating_system)">kernel</a> is the heart of any OS. It's the piece of software that interacts the closest with the hardware and the rest of the OS sits on top of it. The Kernel is responsible for low-level tasks such as disk management, memory management, task management, and so on.</p>
<p>By 1991, a student from Helsinki university named <a target="_blank" href="https://es.wikipedia.org/wiki/Linus_Torvalds">Linus Torvalds</a> started developing a Kernel for a UNIX-like OS.</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/04/linus-torvalds.jpg" alt="linus-torvalds" width="600" height="400" loading="lazy"></p>
<p>In the following years, both projects started to interact and were joined together to form a solid base that any OS could use.</p>
<p>The key here is that both projects are open-source, and completely free software. This means:</p>
<ul>
<li><p>Anyone is free to run the program, for any purpose.</p>
</li>
<li><p>Anyone is free to study how the program works, and change it to make it do what they wish.</p>
</li>
<li><p>Anyone is free to redistribute copies of the original software.</p>
</li>
<li><p>Anyone is free to distribute copies of modified versions of the software.</p>
</li>
</ul>
<p>To better understand the free software movement, <a target="_blank" href="https://www.youtube.com/watch?v=Ag1AKIl_2GM">listen to this TED talk by Richard</a>.</p>
<p>And then watch Richard speak Spanish and <a target="_blank" href="https://www.youtube.com/watch?v=9sJUDx7iEJw">sing a song about free software</a> (you gotta love this guy...).</p>
<p>The approach Stallman and Torvalds took in the development of GNU/Linux is radically different to the examples we've seen and to what the industry was used to up to that point.</p>
<p>Making GNU/Linux free was not only the right thing to do from its developers' points of view – it was also an excellent choice from the software quality point of view. This is because thousands of developers and companies around the world choose to collaborate for free in order to improve the system.</p>
<p>Some of the GNU/Linux distributions are known to be the most secure and stable OSs out there. They're used in key spheres such as banking, finance, government, and military.</p>
<p>A big part of this is thanks to the open-source model behind GNU/Linux, and that thousands of people around the world are able to review the code, fix bugs, and propose improvements constantly.</p>
<p>These two videos by the Linux foundation explain <a target="_blank" href="https://www.youtube.com/watch?v=5ocq6_3-nEw">how Linux was born</a> and <a target="_blank" href="https://www.youtube.com/watch?v=yVpbFMhOAwE">how it currently operates</a>.</p>
<p>As mentioned, GNU/Linux serves as the base for many other OSs. These OSs are called "distributions" or "distros" within the Linux world. All have in common that they're based on the same kernel and set of utilities. They can be thought of as "flavors" of Linux.</p>
<p>There's not much of a difference between certain distros, but others have distinctions worth mentioning. Let's quickly review the most used distros in order to better understand this:</p>
<h3 id="heading-debian">Debian</h3>
<p>Debian is an OS that contains only free, open-source software. Debian was started in 1993 and is still going strong and releasing new versions. Debian is known mainly for its stability and security, which makes it more conservative and "slow" when it comes to new releases.</p>
<h3 id="heading-ubuntu">Ubuntu</h3>
<p>Ubuntu is the most widely used GNU/Linux distro. It was created to take the core parts of Debian and improve on them more quickly. It also has a bigger focus on user friendliness and accessibility, which probably makes it the best option for someone coming from Windows or MacOS background.</p>
<p>Ubuntu normally offers releases every six months, with a more stable LTS (long term support) release every two years. Ubuntu is run by a company called <a target="_blank" href="https://canonical.com/">Canonical</a>.</p>
<h3 id="heading-mint">Mint</h3>
<p>Mint is a distro built on top of Ubuntu. Originally it was loved by many because it included media codecs and proprietary software that Ubuntu didn’t include.</p>
<h3 id="heading-fedora">Fedora</h3>
<p>Fedora is a distro that focuses strongly on free software. Fedora is sponsored by a company called <a target="_blank" href="https://es.wikipedia.org/wiki/Red_Hat">Red Hat</a>, which at the same time is owned by <a target="_blank" href="https://www.ibm.com/">IBM</a>.</p>
<h3 id="heading-red-hat-enterprise-linux">Red hat Enterprise Linux</h3>
<p>Red Hat Enterprise Linux is a commercial Linux distro managed by a company called Red Hat, which is listed on the Nasdaq. The OS is used mainly for servers and corporations. It’s based on the open-source Fedora project, but designed to be a stable platform with long-term support.</p>
<p>Red Hat uses trademark law to prevent Red Hat Enterprise Linux software from being redistributed. However, the core software is free and open-source.</p>
<h3 id="heading-arch-linux">Arch Linux</h3>
<p>Arch is possibly the most hard-core Linux distro. It's very lightweight, flexible and minimal. With Arch, the user is completely in charge of configuring the system. The purpose of Arch is not to be mainstream. It's meant for users that have deep understanding of how a computer and an OS work, or are at least interested in learning.</p>
<p>You can learn more about Arch and how much you can customize it <a target="_blank" href="https://www.freecodecamp.org/news/how-to-install-arch-linux/">in this in-depth handbook</a>.</p>
<p>Here's a <a target="_blank" href="https://www.youtube.com/watch?v=ShcR4Zfc6Dw">great video</a> that quickly summarizes the history of GNU/Linux and goes through the characteristics of the main distros. Fireship is another awesome channel I recommend. ;)</p>
<p>Regarding GNU/Linux business model, well they're not a business to start off. Both Linux and the Free software foundation (the organization behind GNU) are NGOs that operate thanks to donations.</p>
<p>Linux, for example, makes money through Platinum, Gold, Silver and Individual memberships.</p>
<p>Companies like Microsoft, Google, Facebook, Cisco, Fujitsu, HPE, Huawei, IBM, Intel, Oracle, Qualcomm and Samsung are all active contributors to the Linux foundation. This makes sense for companies because they all benefit from the knowledge and technology generated by Linux, and their donations may be tax deductible, too.</p>
<p>Regarding the distros, some of them are completely free and maintained by volunteers and others are maintained by companies and are free to particular users but commercialized for corporate users. Another business model used is free usage but charging for support for corporate users.</p>
<p>Today, Linux runs on most servers worldwide. It's used on most supercomputers and also on most cellphones (as mentioned above, Android uses the Linux kernel).</p>
<p>On the desktop/laptop side of things, Linux usage isn't nearly as widespread. And that's probably because it's not as widely available by default as Windows, and it's nowhere near as marketed as Mac.</p>
<p>Also, especially back in the day, the learning curve necessary to implement and use Linux was considerably higher than for the other two OS options.</p>
<p>Anyway, this situation has been changing lately as Linux distros put more focus on user-friendliness and it's easier than ever to get computers with Linux distros installed by default.</p>
<h2 id="heading-windows-vs-mac-vs-linux-os-comparison">Windows vs Mac vs Linux - OS Comparison</h2>
<p>OK, besides history, business model, and so on, what are the actual differences for the user when it comes to these three operating systems?</p>
<p>The short answer is not that much, actually. But let's review some differences in these operating systems' design, features, and user experience, and later on I'll give you my opinion on this.</p>
<h3 id="heading-file-systems">File systems</h3>
<p>The way Windows organizes files is different from the way Mac and GNU/Linux do.</p>
<p>Windows uses "drives". They're usually a C and D drive that store all the computer files, and separate drives for external devices such as CDs, USBs, and so on.</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/04/992219e7-6b1f-4528-93d5-495994b77a5e.png" alt="992219e7-6b1f-4528-93d5-495994b77a5e" width="600" height="400" loading="lazy"></p>
<p>Mac and GNU/Linux have a similar file system that comes from UNIX. In these OSs there are no drives – everything in the computer is considered a file (even external devices) and all files are organized in directories that descend from a single root directory. The directory structure is formed as a tree that has a unique root.</p>
<p>This doesn't necessarily make much of a difference for the end user, but is something to keep in mind if you're used to navigating one type of file system or the other.</p>
<h3 id="heading-shells">Shells</h3>
<p>Both GNU/Linux and Mac have Bash as their default shell, while Windows has its own shell that uses a different syntax.</p>
<p>As developers and avid terminal users, learning Bash is probably the best choice as this knowledge can be more easily translated to all OSs than the Windows shell. Especially taking into account that GNU/Linux runs on most servers worldwide, which is one of the main occasions when you'd need to use the terminal to interact with the computer.</p>
<p>If you'd like to know more about shells and terminal usage, I recently wrote <a target="_blank" href="https://www.freecodecamp.org/news/command-line-for-beginners/">an article about that</a>.</p>
<h3 id="heading-package-managers">Package managers</h3>
<p>Mac and GNU/Linux come with package managers installed by default. A package manager is a piece of software that allows you to install, update, and uninstall programs from the terminal, just by entering a few commands.</p>
<p>They're super helpful, especially when you're installing and uninstalling things constantly, as it's much more efficient to install programs through package managers than manually.</p>
<p>Mac's package manager is called <a target="_blank" href="https://brew.sh/">homebrew</a>. On GNU/Linux, the default package manager depends on the distro. For example, Ubuntu comes with <a target="_blank" href="https://ubuntu.com/server/docs/package-management">APT</a>, Arch comes with <a target="_blank" href="https://wiki.archlinux.org/title/pacman">Pacman</a>, and so on.</p>
<p>All package managers function in a similar way, but there are some differences in the syntax used for each. It's also important to mention that you can install and run a different package manager than the default.</p>
<p>Windows doesn't come with a default package manager. If you want one, you need to install it first. One of the package managers available for Windows is <a target="_blank" href="https://docs.chocolatey.org/en-us/">Chocolatey</a>.</p>
<h3 id="heading-cost">Cost</h3>
<p>As already mentioned, most GNU/Linux distros are completely free for anyone to use. Windows has a freemium model currently and MacOS runs only on Mac computers, which are quite pricey as you may know.</p>
<h3 id="heading-software-compatibility">Software compatibility</h3>
<p>Windows is the most widely used OS, and thanks to that most software is adapted to it. Even though less popular, MacOS is similar to Windows in this regard.</p>
<p>Back in the day, Linux wasn't compatible with many programs out there, but this has started to change recently, especially with the most popular distros like Ubuntu.</p>
<h3 id="heading-hardware-quality-and-compatibility">Hardware quality and compatibility</h3>
<p>When it comes to hardware, only Apple has direct responsibility for the computers that the OS runs on. And Apple's hardware is some of the best out there.</p>
<p>As a company, Apple is focused on providing top quality products, so their newest computers tend to be the ones with best performance all across the market.</p>
<p>Given that Apple designs and develops both hardware and software, it's possible that the compatibility between the machine and the OS is tuned finer than with Windows or GNU/Linux.</p>
<p>On the Windows and GNU/Linux side, hardware quality is completely up to what the user decides or can afford to buy. The good thing here is that you can install the OS wherever you want.</p>
<p>This is particularly cool when thinking about installing lightweight Linux distros on older computers that can't handle the requirements of bigger and more consuming OSs like Windows.</p>
<h3 id="heading-ease-of-use">Ease of use</h3>
<p>Windows and Mac are really simple and user-friendly OSs. Regarding GNU/Linux, it depends on the distro you choose. As mentioned, distros like Ubuntu are practically as easy as Windows or Mac, and others like Arch are intended for advanced computer users.</p>
<h3 id="heading-security-and-stability">Security and stability</h3>
<p>Some GNU/Linux distros are considered the most secure and stable ones nowadays. The fact that the code is available to everyone isn't a security threat as you may think at first – but rather it's an advantage. Bugs can be identified and worked on quicker, and when a security breach is identified lots of people can work on it and propose fixes.</p>
<p>Windows, on the other hand, is considered the least secure and stable of the three. Given that it's the most popular OS, most malware is developed to attack Windows OS too.</p>
<h3 id="heading-community-and-culture">Community and culture</h3>
<p>If you're interested in learning more about a particular OS, studying how it works, how to modify it and create projects based on it, GNU/Linux is definitely the way to go. It's the only one that has its code available to anyone and its online community is huge.</p>
<p>Even though GNU/Linux isn't as widely used as the other two OSs, I find Linux users are usually people interested in software and technology, and people who like to talk, learn, and share knowledge about it.</p>
<p>Mac has its set of fans too and is particularly popular among creatives (graphical designers, video editors, animators, and so on).</p>
<p>And finally Windows is commonly used by the general user and in corporate environments.</p>
<p>Regarding organization culture, I think it could be interesting to visualize it in the working environment of the people who created this OSs:</p>
<ul>
<li><p>Take a look at <a target="_blank" href="https://www.youtube.com/watch?v=FzcfZyEhOoI">Apple's headquarters</a></p>
</li>
<li><p><a target="_blank" href="https://www.youtube.com/watch?v=ZjyVjU4gkHM">Bill Gate's "home office"</a></p>
</li>
<li><p>And <a target="_blank" href="https://www.youtube.com/watch?v=jYUZAF3ePFE">Linux Torvalds home office</a></p>
</li>
</ul>
<blockquote>
<p>If you'd like to see a more in depth comparison these three OSs, Zach Gollwitzer has a <a target="_blank" href="https://www.youtube.com/watch?v=09puF-VKWeI">very good video about this topic</a> (another great channel to follow ;)).</p>
</blockquote>
<h2 id="heading-which-operating-system-to-choose">Which Operating System to Choose</h2>
<p>I've had the chance to use all three OSs recently, and as I mentioned, I don't think the differences between each of them are THAT big.</p>
<p>In my opinion, Linux is a smart choice because it works great, it's widely used across the tech industry (so all knowledge can be translated to work environments), and if you're interested in learning more about how it works there's a huge community that supports that. And most important of all... it's free!</p>
<p>I mean, if we have one of the best and most widely used pieces of software in human history within our reach and completely for free, why would we pay to get anything else?</p>
<p>Regarding other matters, I think most things you can do on GNU/Linux you can also do on Mac and Windows, at least for most users. It probably wont make a huge difference in your daily life, at least from my perspective.</p>
<p>About hardware, buying a modern Apple computer is almost a guarantee of having a great performing machine (if you can afford it). But if you know a bit about hardware or take the time to investigate around, you can easily find very good choices too for a smaller price.</p>
<p>At the end, I think it's important to know what you're using and know the options out there. As computer users, it's a good idea to be aware of facts and differences, and avoid being distracted by marketing campaigns.</p>
<p>I also don't believe in placing too much judgment or weight in one choice or the other. The fact that someone chooses an open-source OS doesn't make that person smarter or superior that someone who doesn't... Just as owning the latest Mac computer won't make you a better programmer.</p>
<p>Long story short, whatever you choose is fine as long as your system allows you to do what you want.</p>
<p>As always, I hope you enjoyed the article and learned something new. If you want, you can also follow me on <a target="_blank" href="https://www.linkedin.com/in/germancocca/">linkedin</a> or <a target="_blank" href="https://twitter.com/CoccaGerman">twitter</a>.</p>
<p>Cheers and see you in the next one! =D</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/04/goodbye.gif" alt="goodbye" width="600" height="400" loading="lazy"></p>
 ]]>
                </content:encoded>
            </item>
        
            <item>
                <title>
                    <![CDATA[ How to Open Task Manager on Mac – Apple Shortcut Tutorial ]]>
                </title>
                <description>
                    <![CDATA[ Having problems with our computers is never fun.  And what's often worse than the problems themselves is that they seem to occur when we're in the middle of an important task that needs to get done. The computer starts to significanlty slow down and ... ]]>
                </description>
                <link>https://www.freecodecamp.org/news/how-to-open-task-manager-on-mac-apple-shortcut-tutorial/</link>
                <guid isPermaLink="false">66b1e4270968943127cc5f09</guid>
                
                    <category>
                        <![CDATA[ beginners guide ]]>
                    </category>
                
                    <category>
                        <![CDATA[ mac ]]>
                    </category>
                
                    <category>
                        <![CDATA[ macOS ]]>
                    </category>
                
                    <category>
                        <![CDATA[ Productivity ]]>
                    </category>
                
                <dc:creator>
                    <![CDATA[ Dionysia Lemonaki ]]>
                </dc:creator>
                <pubDate>Fri, 11 Feb 2022 21:36:17 +0000</pubDate>
                <media:content url="https://www.freecodecamp.org/news/content/images/2022/02/nadine-shaabana-DRzYMtae-vA-unsplash.jpg" medium="image" />
                <content:encoded>
                    <![CDATA[ <p>Having problems with our computers is never fun. </p>
<p>And what's often worse than the problems themselves is that they seem to occur when we're in the middle of an important task that needs to get done.</p>
<p>The computer starts to significanlty slow down and an app we are using might freeze for a while. The computer's fan then starts to get louder and louder and that dreaded – but colorful – spinning wheel may even make an appearance.</p>
<p>Fortunately, there are certain steps you can take to fix different problems, get to the root of them, and see what caused them in the first place.</p>
<p>In this article you'll learn about the essential Task Manager tool on MacOS. You'll see how using it gives you insight to help diagnose and troubleshoot problems.</p>
<h2 id="heading-the-first-step-of-troubleshooting">The First Step of Troubleshooting</h2>
<p>The first action to take when an application or program you're using freezes and is no longer responsive is to use the following keyboard shortcut: <code>Command Option Esc</code>.</p>
<p>Hold down those three keys at the same time.</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/clay-banks-PXaQXThG1FY-unsplash.jpeg" alt="clay-banks-PXaQXThG1FY-unsplash" width="600" height="400" loading="lazy"></p>
<p>This will launch the Force Quit Applications Manager window:</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot-2022-02-11-at-12.09.26-PM.png" alt="Screenshot-2022-02-11-at-12.09.26-PM" width="600" height="400" loading="lazy"></p>
<p>This window shows a list of all the applications that are currently open on your computer.</p>
<p>As the helpful instructions indicate, select the application that has frozen and is no longer responsive. Then next click the <code>Force Quit</code> button.</p>
<p>💡 Another way to access this window is by selecting the Apple icon at the top left corner of your screen by clicking on it. A dropdown menu will appear and from there select "Force Quit".</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot-2022-02-11-at-8.42.36-PM.png" alt="Screenshot-2022-02-11-at-8.42.36-PM" width="600" height="400" loading="lazy"></p>
<p>The application you selected will be closed and terminated immediately.</p>
<p>It's a handy and quick solution for closing a program that is not working and is unable to stop properly.</p>
<p>But this method doesn't give much information about what could be causing the problem. It's useful for just force-quitting an application.</p>
<h2 id="heading-macos-activity-monitor">MacOS Activity Monitor</h2>
<p>If you were a Windows user in the past, you may be familiar with the Task Manager for troubleshooting problems.</p>
<p>The Activity Monitor is the equivalent system for measuring your computer's activity on a Mac Operating System - it is just under a different name.</p>
<p>It shares a lot of similarities with the Window's counterpart. It locates and shows all the processes currently running and how different applications affect the computer's performance. </p>
<p>So, to dig a bit deeper and gather more information on how the program that has frozen affects your computer, it's helpful to launch the Activity Monitor.</p>
<p>From there you can close or force quit programs, background processes which are not open and visible by default, or apps that have frozen up and are unresponsive and hanging.</p>
<h3 id="heading-how-to-open-the-activity-monitor">How to Open the Activity Monitor</h3>
<p>The easiest and most straightforward way to open the Activity Monitor is with the Spotlight button.</p>
<p>The Spotlight button is located in the menu bar at the top right corner of your Mac's screen and looks like a magnifying glass.</p>
<p>To access the Spotlight button you can just click on it: </p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot-2022-02-11-at-2.35.41-PM.jpeg" alt="Screenshot-2022-02-11-at-2.35.41-PM" width="600" height="400" loading="lazy"></p>
<p>💡 Another way to access Spotlight is by using the <code>Command Spacebar</code> keyboard shortcut.  </p>
<p>Then, the Spotlight Search will appear. Start enetering the input for what you're looking for – in this case type the words Activity Monitor and it should come up.</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot-2022-02-11-at-2.41.19-PM.png" alt="Screenshot-2022-02-11-at-2.41.19-PM" width="600" height="400" loading="lazy"></p>
<p>Hit Return and double click on the first option that appears.</p>
<p>Once you've completed those steps and opened the Activity Monitor, you can optionally keep it in the Dock for easy and fast access in the future.</p>
<p>Click and hold down on the application's icon. From there, once the dropdown menu appears, select <code>Option</code> and then <code>Keep in Dock</code>.</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot-2022-02-11-at-2.48.23-PM.png" alt="Screenshot-2022-02-11-at-2.48.23-PM" width="600" height="400" loading="lazy"></p>
<p>Now the application is pinned in your Dock.</p>
<h2 id="heading-how-to-use-the-activity-monitor">How to Use the Activity Monitor</h2>
<h3 id="heading-an-overview-of-the-five-tabs-in-activity-monitor">An Overview Of The Five Tabs in Activity Monitor</h3>
<p>Once the Activity Monitor Window is open, you can take a deeper look into the current processes that are running on your computer.</p>
<p>There are five tabs available at the top of the window:</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot-2022-02-11-at-3.26.32-PM.png" alt="Screenshot-2022-02-11-at-3.26.32-PM" width="600" height="400" loading="lazy"></p>
<p>In the <strong>"CPU"</strong> tab which is the first one opened by default, you can see information on CPU usage.</p>
<p>For example, here you can see how the activities are affecting the processor's performance and how many processor resources are being used. It shows which applications are doing the heaviest work. </p>
<p>This is one of the two most useful tabs to check when problems occur. When the fan starts getting loud, the computer heats up and your battery starts going down fast. Check this tab to see which application is consuming most of the CPU's resources.</p>
<p>Quitting that app may then stop the problem.</p>
<p>In the <strong>"Memory"</strong> tab you can check memory usage and load. You see statistics and information on how much RAM (Random Access Memory) the different applications are consuming at the time. </p>
<p>This is the second most important tab to check when an application freezes. When an application freezes and your computer really slows down, it could be a sign that RAM is being overused and maxed out. It could also indicate that your computer is running out of sufficient RAM and that's why it is not functioning to the best of its abilities.</p>
<p>The <strong>"Energy"</strong> tab shows how much energy and power is being used by each application for each process that is running. This tab shows which applications are consuming the most energy and are draining battery life.</p>
<p>The <strong>"Disk Tab"</strong> shows the disk usage. It indicates how much data is being read from and written to your disk storage device. Here is also a good place to detect potential malware.</p>
<p>Lastly, the <strong>"Network"</strong> tab shows which applications on your Mac send and receive the most data from the network. </p>
<p>You can select either of these tabs to further investigate the issue you're having.</p>
<h3 id="heading-how-to-search-for-applications-in-activity-monitor">How to Search for Applications in Activity Monitor</h3>
<p>There might be a long list of running processes. </p>
<p>To narrow them down and search for a specific application, use the search bar that is located at the top right hand corner of the window.</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot-2022-02-11-at-7.06.26-PM.jpeg" alt="Screenshot-2022-02-11-at-7.06.26-PM" width="600" height="400" loading="lazy"></p>
<p>Type the name of the app you're looking for and if it is currently up and running it will appear as a result.</p>
<h3 id="heading-how-to-view-more-information-about-applications-in-activity-monitor">How to View More Information About Applications in Activity Monitor</h3>
<p>First, select a particular application from the list of current running processeses that you're interested in learning more about by clicking on it.</p>
<p>Once you've selected it, that line will be highlighted.</p>
<p>Then, click on the <code>i</code> button (for Inspecting) at the top left hand corner.</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot-2022-02-11-at-4.17.40-PM.jpeg" alt="Screenshot-2022-02-11-at-4.17.40-PM" width="600" height="400" loading="lazy"></p>
<p>A pop-up window will appear, with additional information on the application.</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot-2022-02-11-at-4.22.41-PM.png" alt="Screenshot-2022-02-11-at-4.22.41-PM" width="600" height="400" loading="lazy"></p>
<p>This window will have three different tabs: "Memory", "Statistics" and "Open Files and Ports".</p>
<p>In Memory you'll see how much RAM is running.</p>
<p>In the Statistis tab you can see the number of threads, the CPU time, and more technical insight.</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot-2022-02-11-at-8.04.15-PM.png" alt="Screenshot-2022-02-11-at-8.04.15-PM" width="600" height="400" loading="lazy"></p>
<p>The "Open Files and Ports" tab will show all the names of files that are currently running.</p>
<h3 id="heading-how-to-force-quit-an-application-in-activity-monitor">How to Force Quit an Application in Activity Monitor</h3>
<p>To quit or force quit any of the processes listed in the Activity Monitor, select the application you want to stop from running. </p>
<p>Then select the <code>x</code> button at the top left hand corner, which acts as the Stop button.</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot-2022-02-11-at-4.17.40-PM-2.jpeg" alt="Screenshot-2022-02-11-at-4.17.40-PM-2" width="600" height="400" loading="lazy"></p>
<p>You'll see a pop up window appear asking you to confirm that you want to terminate the process. It will mention the name of the application you want to stop running in double quotation marks.</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot-2022-02-11-at-6.40.46-PM.png" alt="Screenshot-2022-02-11-at-6.40.46-PM" width="600" height="400" loading="lazy"></p>
<p>Select "Quit", and if that fails to close the app, choose "Force Quit" and the application will close immediately.</p>
<p>Keep in mind that you may end up losing data if the app froze and you didn't manage to save any progress or files you were using.</p>
<h2 id="heading-an-alternative-to-activity-monitor">An Alternative to Activity Monitor</h2>
<p>If you're a developer you may prefer working with the terminal.</p>
<p>Using just one command, you can see a list of the current running processes.</p>
<p>Navigate to spotlight again and this time type in "Terminal". The built-in terminal application for MacOS will launch. </p>
<p>You'll see the command prompt which is right after your computer's username.</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot-2022-02-11-at-10.11.56-PM.png" alt="Screenshot-2022-02-11-at-10.11.56-PM" width="600" height="400" loading="lazy"></p>
<p>By default, if you haven't applied any custom styles for the Zsh shell, the command prompt is a <code>%</code> sign. </p>
<p>A shell is a computer program that interacts with the underlying operating system through text-based commands it receives as input. </p>
<p>Zsh is one of the many different Unix shell types available. The Zsh shell is the default shell for MacOS Catalina and later. </p>
<p>After the command prompt, enter the command <code>top</code> and hit return.</p>
<p>You'll see a list of all the current running processes:</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot-2022-02-11-at-8.58.50-PM.png" alt="Screenshot-2022-02-11-at-8.58.50-PM" width="600" height="400" loading="lazy"></p>
<p>To stop this, enter <code>Control C</code> which sends a signal to the command to terminate. You'll be back to the command prompt immediately.</p>
<p>When the <code>top</code> command is executing, you may see a process that is using too many resources. It may be a good idea to kill it, which is another word for terminating a process.</p>
<p>To do so, first locate the <code>PID</code> (Process ID). This number is located in the first column at the left hand corner when the <code>top</code> command is executed.</p>
<p>To continue, make sure you are at the command prompt.</p>
<p>Then, type the <code>kill -9 PID</code>, where <code>PID</code>  the number of the process you want to terminate.</p>
<p>For example, if I wanted to force quit the terminal application I am currently using which has a <code>PID</code> of 7728, I would write the following: <code>kill -9 7728</code>. </p>
<p>The application will then close immediately.</p>
<h2 id="heading-conclusion">Conclusion</h2>
<p>Thanks for making it to the end. Hopefully you found this helpful and were able to troubleshoot any problems you were facing with your Mac computer.</p>
<p>You learned about the Activity Monitor which is the equivalent of the Task Manager available on Windows PCs. You also leared how to use the command line to terminate processes that use too many of the computer's resources.</p>
<p>Thanks for reading!</p>
 ]]>
                </content:encoded>
            </item>
        
            <item>
                <title>
                    <![CDATA[ How to Turn Off Quick Note and Hot Corners [Solved for MacOS Monterey] ]]>
                </title>
                <description>
                    <![CDATA[ I recently updated to MacOS Monterey (Version 12.0). Sometimes software companies like Apple will add features I don't like, then enable them by default. This is what happened with the New Quick Note hot corner. Here is what the Quick Notes feature l... ]]>
                </description>
                <link>https://www.freecodecamp.org/news/turn-off-quick-note-mac-monterey/</link>
                <guid isPermaLink="false">66b8d63cb7a8332d9a6b209d</guid>
                
                    <category>
                        <![CDATA[ Apple ]]>
                    </category>
                
                    <category>
                        <![CDATA[ mac ]]>
                    </category>
                
                    <category>
                        <![CDATA[ macOS ]]>
                    </category>
                
                <dc:creator>
                    <![CDATA[ Quincy Larson ]]>
                </dc:creator>
                <pubDate>Thu, 18 Nov 2021 04:09:00 +0000</pubDate>
                <media:content url="https://www.freecodecamp.org/news/content/images/2021/11/Window.png" medium="image" />
                <content:encoded>
                    <![CDATA[ <p>I recently updated to MacOS Monterey (Version 12.0). Sometimes software companies like Apple will add features I don't like, then enable them by default. This is what happened with the New Quick Note hot corner.</p>
<p>Here is what the Quick Notes feature looks like when you move your cursor to the lower right hand corner of the screen:</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2021/11/Window_and_Notes_and_How_to_Turn_Off_Quick_Note_in_MacOS_Monterrey_-_freeCodeCamp_org_--.png" alt="Image" width="600" height="400" loading="lazy">
<em>The New Quick Note feature in the lower right hand screen of MacOS Monterey</em></p>
<p>I like a lot of MacOS Monterey's features, but I didn't like this popping up so frequently when I was moving my mouse around. So I disabled it. You can do this, too, and it only takes a few seconds.</p>
<h2 id="heading-how-to-disable-the-new-quick-note-feature-in-macos-monterey">How to Disable the New Quick Note Feature in MacOS Monterey</h2>
<p>First of all, navigate to your MacOS preferences. </p>
<h3 id="heading-step-1-open-system-preferences">Step #1: Open System Preferences</h3>
<p>The fastest way to do this is to press <strong>Command + Space</strong> to open up Spotlight.</p>
<p>Then type "pref" and you should see a System Preferences option.</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2021/11/Spotlight_and_How_to_Turn_Off_Quick_Notes_in_Mac_-_Solved_for_MacOS_Monterey_12_0_Quick_Note_-_freeCodeCamp_org_---1.png" alt="Image" width="600" height="400" loading="lazy">
<em>MacOS Spotlight is a helpful way to open up applications quickly. You can open it by pressing Command + Space</em></p>
<h3 id="heading-step-2-open-mission-control-preferences">Step #2: Open Mission Control Preferences</h3>
<p><img src="https://www.freecodecamp.org/news/content/images/2021/11/System_Preferences_and_Developers_Spent_2_1_Billion_Minutes__4_000_years__Using_freeCodeCamp_in_2021__and_Other_Year-end_Facts_-_freeCodeCamp_org_---1.png" alt="Image" width="600" height="400" loading="lazy">
<em>Click the Mission Control icon pointed to above</em></p>
<h3 id="heading-step-3-click-the-hot-corners-button">Step #3: Click the "Hot Corners..." button</h3>
<p><img src="https://www.freecodecamp.org/news/content/images/2021/11/Mission_Control_and_Developers_Spent_2_1_Billion_Minutes__4_000_years__Using_freeCodeCamp_in_2021__and_Other_Year-end_Facts_-_freeCodeCamp_org_--.png" alt="Image" width="600" height="400" loading="lazy">
<em>The Hot Corners button is in the lower left-hand corner</em></p>
<h3 id="heading-step-4-disable-the-quick-note-hot-corner-gesture">Step #4: Disable the Quick Note Hot Corner Gesture</h3>
<p>You can now disable the Quick Note hot corner. If you prefer, you could instead assign this hot corner to something else. I personally find these hot corners more distracting than helpful, and turn all four of them off. </p>
<p>Remember: anything you can do with a hot corner, you can do with the MacOS built-in Spotlight feature.</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2021/11/OtherViews_and_Mission_Control_and_Developers_Spent_2_1_Billion_Minutes__4_000_years__Using_freeCodeCamp_in_2021__and_Other_Year-end_Facts_-_freeCodeCamp_org_--.png" alt="Image" width="600" height="400" loading="lazy">
<em>Click the drop down for the lower-right hand corner and set it to "–" which means nothing will happen when you move your cursor to the lower right hand corner of your screen.</em></p>
<h3 id="heading-step-5-click-the-ok-button-and-close-mission-control">Step #5: Click the OK Button and Close Mission Control</h3>
<p>Congratulations. You have disabled the Quick Note hot corner. It shouldn't pop up anymore.</p>
<p>I hope this has been helpful. Have a fun, productive day.</p>
 ]]>
                </content:encoded>
            </item>
        
            <item>
                <title>
                    <![CDATA[ What is Bonjour on my Computer? Windows 10 Bonjour Program PC Guide ]]>
                </title>
                <description>
                    <![CDATA[ Apple devices work well and connect readily with other Apple devices. But they have a hard time communicating with devices running other operating systems like Windows and Linux. If you have both Apple and Windows devices, you might want to share fil... ]]>
                </description>
                <link>https://www.freecodecamp.org/news/what-is-bonjour-on-my-computer/</link>
                <guid isPermaLink="false">66adf26a88723f64bc4313a5</guid>
                
                    <category>
                        <![CDATA[ configuration ]]>
                    </category>
                
                    <category>
                        <![CDATA[ Linux ]]>
                    </category>
                
                    <category>
                        <![CDATA[ mac ]]>
                    </category>
                
                    <category>
                        <![CDATA[ Windows 10 ]]>
                    </category>
                
                <dc:creator>
                    <![CDATA[ Kolade Chris ]]>
                </dc:creator>
                <pubDate>Tue, 02 Nov 2021 18:23:02 +0000</pubDate>
                <media:content url="https://www.freecodecamp.org/news/content/images/2021/11/bonjour.png" medium="image" />
                <content:encoded>
                    <![CDATA[ <p>Apple devices work well and connect readily with other Apple devices. But they have a hard time communicating with devices running other operating systems like Windows and Linux.</p>
<p>If you have both Apple and Windows devices, you might want to share files between them over a local network. And this is what Apple's Bonjour service makes happen under the hood. </p>
<p>In this guide, I will take you through what Bonjour is and how you can get it running on your Windows 10 computer.</p>
<h2 id="heading-what-is-apples-bonjour-program">What is Apple's Bonjour Program?</h2>
<p>Bonjour is Apple's implementation of zero-configuration networking (zeroconf). It allows devices running both Windows and Apple operating systems (like macOS and iOS) to connect and share resources without any configuration settings.</p>
<p>With Bonjour, you can locate other devices such as scanners and printers on a local network and connect with them. You can also share files irrespective of the operating system you are using, whether it's Windows, macOS, or Linux. </p>
<h2 id="heading-how-bonjour-works-on-a-computer">How Bonjour Works on a Computer</h2>
<p>Bonjour is not a regular software product. Unlike other software and apps, you don't get to use Bonjour directly.</p>
<p>Instead, Bonjour runs in the background and connects devices together by using a "link addressing scheme", which automatically assigns IP addresses to devices on a local network.</p>
<p>Examples of apps that use Bonjour include iTunes, Skype, iChat, and iPhoto.</p>
<h2 id="heading-how-to-get-bonjour-up-and-running-on-windows-10">How to Get Bonjour Up and Running on Windows 10</h2>
<p>Unlike Apple devices which work hand in hand with Bonjour, you might have to manually install Bonjour on your Windows 10 computer. </p>
<p>Bonjour is not available to be downloaded as a standalone app, so you'll need to download an app that uses it. </p>
<p>It used to come attached with Mac apps such as iTunes and the Safari browser in a zip folder, but these days, the iTunes app may download it for you over a WiFi network.</p>
<p>However, you can install Bonjour for your Windows 10 computer by downloading the Bonjour SDK (Software Development Kit) from the <a target="_blank" href="https://developer.apple.com/bonjour/">Apple Developer Website</a>.</p>
<p>Make sure you select Bonjour SDK for Windows as shown below:
<img src="https://www.freecodecamp.org/news/content/images/2021/11/bonjour-sdk.jpg" alt="bonjour-sdk" width="600" height="400" loading="lazy"></p>
<p>Once you do that, you will have to sign in with your Apple ID. If you don't have one, you can create it.</p>
<p>When you sign in successfully, you will be presented with different versions of Bonjour SDK. Download the one you want and install it by opening up the installer and following the prompts.
<img src="https://www.freecodecamp.org/news/content/images/2021/11/versions.png" alt="versions" width="600" height="400" loading="lazy"></p>
<p>When the Bonjour SDK gets installed, the Bonjour program gets installed with it as well.</p>
<h2 id="heading-do-you-need-bonjour-on-your-windows-10-computer">Do you need Bonjour on your Windows 10 computer?</h2>
<p>If you use an app that depends on Bonjour to run on a Windows computer, you definitely need Bonjour for the app to function effectively. </p>
<p>In addition, if you use devices that cut across multiple operating systems such as macOS, Windows, and Linux, you might need to connect them together to share resources such as files and devices – and you'll need Bonjour for that to happen. This will also give you the advantage of zero-configuration.</p>
<p>Lastly, if you don't use an Apple device like a Mac but you have friends who do, you should consider getting Bonjour installed on your device, so you can share files and other resources with them.</p>
<h2 id="heading-how-to-stop-or-uninstall-bonjour-on-windows-10">How to Stop or Uninstall Bonjour on Windows 10</h2>
<p>If you stop using an app that depends on Bonjour to work, or you want to say goodbye for any other reason, you might want to stop Bonjour. You can do this from the Task Manager.</p>
<p><strong>Step 1</strong>: Click on Start, or press the <code>WIN</code> (Windows) key on your keyboard.</p>
<p><strong>Step 2</strong>: Search for "task manager" and hit <code>ENTER</code>.
<img src="https://www.freecodecamp.org/news/content/images/2021/11/ss-1a.png" alt="ss-1a" width="600" height="400" loading="lazy"></p>
<p><strong>Step 3</strong>: Click on the Services tab. Here you will see Bonjour Service, which is sometimes available as <code>"mDNSResponder.exe"</code>.
<img src="https://www.freecodecamp.org/news/content/images/2021/11/ss-1.jpg" alt="ss-1" width="600" height="400" loading="lazy"></p>
<p><strong>Step 4</strong>: Right-click on it and select “Stop”.
<img src="https://www.freecodecamp.org/news/content/images/2021/11/ss-2.jpg" alt="ss-2" width="600" height="400" loading="lazy"></p>
<h3 id="heading-to-uninstall-bonjour-you-can-do-it-in-the-settings-app">To uninstall Bonjour, you can do it in the Settings app.</h3>
<p><strong>Step 1</strong>: Click on Start, or press the <code>WIN</code> (Windows) key on your keyboard, and Select Settings to open the Settings app.
<img src="https://www.freecodecamp.org/news/content/images/2021/11/ss-3.jpg" alt="ss-3" width="600" height="400" loading="lazy"></p>
<p><strong>Step 2</strong>: Select Apps.
<img src="https://www.freecodecamp.org/news/content/images/2021/11/ss-4.jpg" alt="ss-4" width="600" height="400" loading="lazy"></p>
<p><strong>Step 3</strong>: On the Apps &amp; Features tab, scroll till you find Bonjour, or search for it.
<img src="https://www.freecodecamp.org/news/content/images/2021/11/ss-5.jpg" alt="ss-5" width="600" height="400" loading="lazy"></p>
<p><strong>Step 4</strong>: Select uninstall, and again, uninstall.
<img src="https://www.freecodecamp.org/news/content/images/2021/11/ss-6.jpg" alt="ss-6" width="600" height="400" loading="lazy"></p>
<p>Please note that to get rid of the Bonjour service totally, you might have to uninstall the app using it as well. If you installed Bonjour through the Bonjour SDK, make sure you uninstall the Bonjour SDK as well.</p>
<h2 id="heading-conclusion">Conclusion</h2>
<p>Bonjour is a useful service that gives you more flexibility if you work with devices that use multiple operating systems. </p>
<p>This guide showed youß what the Bonjour service is, what it does, and how you can have more control over it on your Windows 10 computer.</p>
<p>Thank you for reading. If you find this article helpful, please share it with your friends and family.</p>
 ]]>
                </content:encoded>
            </item>
        
            <item>
                <title>
                    <![CDATA[ Not Equal Sign – How to Type the Does Not Equal Symbol ]]>
                </title>
                <description>
                    <![CDATA[ The does not equal symbol, or ≠, is often not part of a standard keyboard setup – or it's well hidden. So if you need to write it, how do you do it? How to Write the Not Equal Sign on Desktop Devices On Windows: Use the Character Map The ]]>
                </description>
                <link>https://www.freecodecamp.org/news/not-equal-sign-how-to-type-the-does-not-equal-symbol/</link>
                <guid isPermaLink="false">66b0c3a493daff72552fc869</guid>
                
                    <category>
                        <![CDATA[ how-to ]]>
                    </category>
                
                    <category>
                        <![CDATA[ mac ]]>
                    </category>
                
                    <category>
                        <![CDATA[ Productivity ]]>
                    </category>
                
                    <category>
                        <![CDATA[ Windows ]]>
                    </category>
                
                <dc:creator>
                    <![CDATA[ Ilenia Magoni ]]>
                </dc:creator>
                <pubDate>Thu, 29 Jul 2021 18:27:33 +0000</pubDate>
                <media:content url="https://www.freecodecamp.org/news/content/images/2021/07/pexels-stephane-hurbe-4198029.jpg" medium="image" />
                <content:encoded>
                    <![CDATA[ <p>The does not equal symbol, or ≠, is often not part of a standard keyboard setup – or it's well hidden. So if you need to write it, how do you do it?</p>
<h1 id="heading-how-to-write-the-not-equal-sign-on-desktop-devices">How to Write the Not Equal Sign on Desktop Devices</h1>
<h2 id="heading-on-windows-use-the-character-map">On Windows: Use the Character Map</h2>
<p>The Character Map is a useful utility from which you can select all possible characters.</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2021/07/image-93.png" alt="Image" width="600" height="400" loading="lazy"></p>
<p>To get to the character map, click on Start, and then navigate to Programs -&gt; Accessories -&gt; System Tools, and then finally click on Character Map.</p>
<p>You can find the not equal sign in the mathematical symbols. Then you can just copy and paste the sign from that character map where you need it.</p>
<h2 id="heading-not-equal-sign-keyboard-shortcut-on-mac">Not Equal Sign Keyboard Shortcut On Mac</h2>
<p>If you are using a Mac, typing the does not equal sign is as easy as typing <code>Option+=</code> (This may vary between languages and locations).</p>
<p>Alternatively you can press <code>Control+Command+Space bar</code> to open the Character Viewer. Then you can scroll through the available emoji and symbols until you find the Math Symbols section. There, you'll find the Does Not Equal symbol (or you can use the Search bar).</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2021/07/image-107.png" alt="Image" width="600" height="400" loading="lazy">
<em>The Character Viewer. The Does Not Equal sign can be found in the Math Symbols section.</em></p>
<h1 id="heading-how-to-write-the-not-equal-sign-in-microsoft-office-suite">How to Write the Not Equal Sign in Microsoft Office Suite</h1>
<h2 id="heading-use-the-insert-symbol-tool">Use the Insert Symbol tool</h2>
<p>In the Microsoft Office suite, you can add the not equal sign to your document using the Symbol tool in the Insert tab.</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2021/07/image-96.png" alt="Image" width="600" height="400" loading="lazy">
<em>The Symbol tool in Excel</em></p>
<p><img src="https://www.freecodecamp.org/news/content/images/2021/07/image-97.png" alt="Image" width="600" height="400" loading="lazy">
<em>The Symbol tool in Word</em></p>
<p><img src="https://www.freecodecamp.org/news/content/images/2021/07/image-98.png" alt="Image" width="600" height="400" loading="lazy">
<em>The Symbol tool in PowerPoint</em></p>
<p>Clicking on Symbol (or More Symbols... for Word) opens a window from where you can select the symbols. You can find the not equal symbol toward the end, in the subset of Mathematical Operators.</p>
<p>You can reach it faster from the drop down menu that lets you select the subset. Once selected, the Insert button will Insert the symbol in your document.</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2021/07/image-99.png" alt="Image" width="600" height="400" loading="lazy"></p>
<h2 id="heading-use-a-keyboard-shortcut">Use a Keyboard Shortcut</h2>
<p>You can also type <code>Alt+8800</code>, and this will type the does not equal sign in any of the Suite Office apps.</p>
<h2 id="heading-microsoft-word-only-keyboard-shortcut">Microsoft Word Only Keyboard Shortcut</h2>
<p>In Microsoft Word only there is an additional shortcut that will let you type the does not equal sign – just type 2260 and then press <code>Alt+x</code> and the ≠ sign will substitute for the numbers.</p>
<h1 id="heading-how-to-type-the-not-equal-sign-on-mobile">How to Type the Not Equal Sign On Mobile</h1>
<p>Most mobile keyboards have different panels, one for letters, and one or more additional symbol panels. The equal sign is often included in one of those non-letter panels. Try long-pressing on the equal sign, and the not equal sign may be included.</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2021/07/WhatsApp-Image-2021-07-28-at-10.19.09.jpeg" alt="Image" width="600" height="400" loading="lazy"></p>
<p>The screenshot above is for the iPhone keyboard. On it, you can find the equal sign in the second symbol panel.</p>
<p>For Android keyboards, you'll need to take a couple more steps to reach the symbol panel that includes the equal and not equal signs. You can usually navigate between the panels using the buttons that have multiple symbols in them, like <code>ABC</code> or <code>123</code>.</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2021/07/WhatsApp-Image-2021-07-28-at-10.52.19.jpeg" alt="Image" width="600" height="400" loading="lazy"></p>
<h1 id="heading-how-to-write-the-not-equal-sign-in-html">How to Write the Not Equal Sign in HTML</h1>
<p>In HTML, you can use one of the following codes to write the ≠ sign: </p>
<ul>
<li><code>&amp;#8800;</code> </li>
<li><code>&amp;ne;</code></li>
<li><code>&amp;NotEqual;</code></li>
</ul>
<p>Special characters are best included using the codes that render them instead of typing the symbol directly.</p>
<h1 id="heading-conclusion">Conclusion</h1>
<p>You probably won't need to type the not equal symbol that often. But when you need it, it's useful to know how to type it on your laptop or your smart phone using the keyboard or alternative methods.</p>
 ]]>
                </content:encoded>
            </item>
        
            <item>
                <title>
                    <![CDATA[ How to Screenshot on Mac – Take a Screen Capture with a Keyboard Shortcut ]]>
                </title>
                <description>
                    <![CDATA[ Using just a few keystrokes, it's easy to capture part or all of your screen on a Mac. Screenshots are useful in many cases, like when you're writing a blog post and you want to use images that will drive home the points you are making. This guide wi... ]]>
                </description>
                <link>https://www.freecodecamp.org/news/how-to-screenshot-on-mac-take-a-screen-capture-with-a-keyboard-shortcut/</link>
                <guid isPermaLink="false">66b1e4319498308aedfb5758</guid>
                
                    <category>
                        <![CDATA[ how-to ]]>
                    </category>
                
                    <category>
                        <![CDATA[ mac ]]>
                    </category>
                
                    <category>
                        <![CDATA[ macOS ]]>
                    </category>
                
                    <category>
                        <![CDATA[ Tutorial ]]>
                    </category>
                
                <dc:creator>
                    <![CDATA[ Dionysia Lemonaki ]]>
                </dc:creator>
                <pubDate>Thu, 22 Jul 2021 22:05:03 +0000</pubDate>
                <media:content url="https://www.freecodecamp.org/news/content/images/2021/07/priscilla-du-preez-RKjkGheaOSs-unsplash.jpg" medium="image" />
                <content:encoded>
                    <![CDATA[ <p>Using just a few keystrokes, it's easy to capture part or all of your screen on a Mac.</p>
<p>Screenshots are useful in many cases, like when you're writing a blog post and you want to use images that will drive home the points you are making.</p>
<p>This guide will show you how to do just that using a couple of simple and fast keyboard shortcuts.</p>
<p>At the end, I'll share a handy feature that will give you more options when you want to capture something on your computer screen.</p>
<p>Let's get started!</p>
<h2 id="heading-how-to-take-a-screenshot-on-a-mac">How to take a screenshot on a Mac</h2>
<p>To take a screenshot on your Mac, press and hold down at the same time the following keys: <code>Command Shift 3</code></p>
<p><img src="https://www.freecodecamp.org/news/content/images/2021/07/clay-banks-PXaQXThG1FY-unsplash.jpeg" alt="clay-banks-PXaQXThG1FY-unsplash" width="600" height="400" loading="lazy"></p>
<p>This will take a photo of your entire screen.</p>
<p>You'll see a thumbnail pop up at the bottom right corner of your screen. This is the case for every type of screenshot you can take on a Mac – you'll always be able to see a preview of it.</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2021/07/Screenshot-2021-07-22-at-3.57.46-PM.jpeg" alt="Screenshot-2021-07-22-at-3.57.46-PM" width="600" height="400" loading="lazy"></p>
<p>You can click on that to edit your screenshot. </p>
<p>By default all your screenshots get saved automatically to your Desktop folder, with the name 'Screenshot <code>&lt;date&gt;</code> at <code>&lt;time&gt;</code>.jpeg".</p>
<h3 id="heading-how-to-take-a-screenshot-of-part-of-your-screen-on-mac">How to take a screenshot of part of your screen on Mac</h3>
<p>If you want to take a photo of a specific part of your screen, hold and press down at the same time the following keys: <code>Command Shift 4</code>.</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2021/07/clay-banks-PXaQXThG1FY-unsplash-copy.jpeg" alt="clay-banks-PXaQXThG1FY-unsplash-copy" width="600" height="400" loading="lazy"></p>
<p>This will make your pointer turn into what's called a <em>crosshair cursor</em>.</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2021/07/examplecm4.jpeg" alt="examplecm4" width="600" height="400" loading="lazy"></p>
<p>Next, press on your trackpad or mouse. This will then allow you to click on and move the cursor to where you want the start and end of your screenshot to be.  </p>
<p>Drag and move the grey box that appears in the specific area you want to target – you can make this as wide or as narrow as you wish.</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2021/07/examplecm42.jpeg" alt="examplecm42" width="600" height="400" loading="lazy"></p>
<p>Release the trackpad/mouse and the photo of the area of your choosing will be captured and saved. If you change your mind, press <code>esc</code> before releasing.</p>
<h3 id="heading-how-to-take-a-screenshot-of-a-specific-window-on-mac">How to take a screenshot of a specific window on Mac</h3>
<p>You can take a screenshot of a window, whether it's only a menu or the whole window screen.</p>
<p>Press and hold at the same time the following keys: <code>Command Shift 4 Space</code></p>
<p>It's like the previous command, but the <code>Scace bar</code> is the final key that you press after and while holding down the other three keys.</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2021/07/clay-banks-PXaQXThG1FY-unsplash-2-2.jpeg" alt="clay-banks-PXaQXThG1FY-unsplash-2-2" width="600" height="400" loading="lazy"></p>
<p>This time, the pointer changes into a camera icon. </p>
<p>You can move your trackpad/mouse to select an area. If you only want the top menu you can select that, or the doc at the bottom, or the whole browser/desktop  window. </p>
<p>You'll see that the area you're pointing to is getting highlighted.</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2021/07/example5final-2.jpeg" alt="example5final-2" width="600" height="400" loading="lazy"></p>
<p>Click on your trackpad/mouse to capture what you want.</p>
<p>If you change your mind, press <code>esc</code> before releasing your trackpad/mouse. Otherwise your screenshot will be taken and saved.</p>
<h2 id="heading-mac-screenshot-toolbar">Mac Screenshot toolbar</h2>
<p>Using just your keyboard for screenshots is great, but Mac has an added feature.</p>
<p>While using this feature, you're able to record your screen instead of just having the option of taking a static photo. </p>
<p>Or you can change the screenshot settings – like for example setting a timer before the screenshot is captured and saving your screenshot location.</p>
<p>This time, press the keys <code>Command Shift 5</code>.</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2021/07/clay-banks-PXaQXThG1FY-unsplash-3.jpeg" alt="clay-banks-PXaQXThG1FY-unsplash-3" width="600" height="400" loading="lazy"></p>
<p>You'll see this pop up at the bottom of your screen by default:</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2021/07/Screenshot-2021-07-22-at-2.27.49-PM.jpeg" alt="Screenshot-2021-07-22-at-2.27.49-PM" width="600" height="400" loading="lazy"></p>
<p>In the first portion, you have the option to capture the entire screen, a single window, or a scepific portion of your screen.</p>
<p>To do so, select the option you want and press "Capture".</p>
<p>The rectangles with the circle at their bottom right side are options to record the whole screen or just a section of the screen, respectively.</p>
<p>Hit the record button and when you are done, press the "Stop recording" button that appears during your recording at the top menu on your screen.</p>
<p>You also have ways to customize, with the "Options" menu:</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2021/07/final.jpeg" alt="final" width="600" height="400" loading="lazy"></p>
<h2 id="heading-conclusion">Conclusion</h2>
<p>And there you have it. These are some simple ways to take screenshots using your Mac, along with an option to record your screen at the end.</p>
 ]]>
                </content:encoded>
            </item>
        
            <item>
                <title>
                    <![CDATA[ PRAM Definition ]]>
                </title>
                <description>
                    <![CDATA[ PRAM, or parameter random access memory, is a special type of battery powered RAM for older Mac computers. Modern Mac computers don't use PRAM. Instead, they use NVRAM, or non-volatile random access memory. But PRAM and NVRAM serve the same function.... ]]>
                </description>
                <link>https://www.freecodecamp.org/news/pram-definition/</link>
                <guid isPermaLink="false">66c35cbfb8711219e1e72dc3</guid>
                
                    <category>
                        <![CDATA[ Computers ]]>
                    </category>
                
                    <category>
                        <![CDATA[ hardware ]]>
                    </category>
                
                    <category>
                        <![CDATA[ mac ]]>
                    </category>
                
                    <category>
                        <![CDATA[ macOS ]]>
                    </category>
                
                    <category>
                        <![CDATA[ Tech Terms ]]>
                    </category>
                
                <dc:creator>
                    <![CDATA[ freeCodeCamp ]]>
                </dc:creator>
                <pubDate>Wed, 21 Apr 2021 06:05:00 +0000</pubDate>
                <media:content url="https://www.freecodecamp.org/news/content/images/2021/04/julian-hochgesang-dc-I7GCibzs-unsplash.jpg" medium="image" />
                <content:encoded>
                    <![CDATA[ <p>PRAM, or parameter random access memory, is a special type of battery powered RAM for older Mac computers.</p>
<p>Modern Mac computers don't use PRAM. Instead, they use NVRAM, or non-volatile random access memory.</p>
<p>But PRAM and NVRAM serve the same function. They both store some important information about your system like the startup disk, timezone, and so on.</p>
<p>If you're having some issues with your Mac computer, you may want to reset the PRAM / NVRAM. Here's how to do that:</p>
<ol>
<li>Shut down your Mac computer</li>
<li>Turn on the computer, and immediately hold down these keys: Option + Command + P + R</li>
<li>Hold down the keys until you hear the startup sound after about 20 seconds</li>
</ol>
<p>Here's a video that goes over how to reset the PRAM / NVRAM and SMC (system management controller):</p>
<div class="embed-wrapper">
        <iframe width="560" height="315" src="https://www.youtube.com/embed/N5laIcLMnJU" style="aspect-ratio: 16 / 9; width: 100%; height: auto;" title="YouTube video player" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen="" loading="lazy"></iframe></div>
<h2 id="heading-related-tech-terms">Related Tech Terms:</h2>
<ul>
<li><a target="_blank" href="https://www.freecodecamp.org/news/macintosh-definition/">Macintosh Definition</a></li>
<li><a target="_blank" href="https://www.freecodecamp.org/news/ram-definition/">RAM Definition</a></li>
</ul>
 ]]>
                </content:encoded>
            </item>
        
            <item>
                <title>
                    <![CDATA[ How to Install Python 3 on Mac – Brew Install Update Tutorial ]]>
                </title>
                <description>
                    <![CDATA[ MacOS comes with Python pre-installed. But it's Python Version 2.7, which is now deprecated (abandoned by the Python developer community). The entire Python community has now moved on to using Python 3.x (the current version as of writing this is 3.9... ]]>
                </description>
                <link>https://www.freecodecamp.org/news/python-version-on-mac-update/</link>
                <guid isPermaLink="false">66b8d556f8e5d39507c4c10b</guid>
                
                    <category>
                        <![CDATA[ mac ]]>
                    </category>
                
                    <category>
                        <![CDATA[ Python ]]>
                    </category>
                
                <dc:creator>
                    <![CDATA[ Quincy Larson ]]>
                </dc:creator>
                <pubDate>Tue, 06 Apr 2021 03:19:47 +0000</pubDate>
                <media:content url="https://cdn-media-2.freecodecamp.org/w1280/606ba4e1d5756f080ba94d0c.jpg" medium="image" />
                <content:encoded>
                    <![CDATA[ <p>MacOS comes with Python pre-installed. But it's Python Version 2.7, which is now deprecated (abandoned by the Python developer community).</p>
<p>The entire Python community has now moved on to using Python 3.x (the current version as of writing this is 3.9). And Python 4.x will be out soon, but it will be completely backward compatible.</p>
<p>If you try to run Python from your MacOS terminal, you'll even see this warning:</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2021/04/freecodecamp_-_freecodecamp_MacBook-Pro_-___-_-zsh_-_84-24-1.png" alt="Image" width="600" height="400" loading="lazy">
<em>WARNING: Python 2.7 is not recommended. This version is included in macOS for compatibility with legacy software. Future versions of macOS will not include Python 2.7. Instead, it is recommended that you transition to using 'python3' from within Terminal.</em></p>
<p>Until Apple decides to set Python 3.x, as the default you're going to have to install it yourself.</p>
<h2 id="heading-a-single-command-to-run-python-3">A Single Command to Run Python 3</h2>
<p>For some of you reading this, this command may be enough. You can run Python 3 using this command (with the 3 at the end).</p>
<pre><code class="lang-bash">python3
</code></pre>
<p>If that's all you came for, no worries. Have a fun day and happy coding.</p>
<p>But if you want a proper Python version control system to keep track of various versions – and have fine-grain control over which version you use – this tutorial will show you exactly how to accomplish this.</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2021/04/Megaman-810x600.jpeg" alt="Image" width="600" height="400" loading="lazy">
<em>By the way, if you're wondering why I keep referring to Python 3.x – the x is a stand-in for sub-versions (or point releases as developers call them.) This means any version of Python 3.</em></p>
<h2 id="heading-how-to-install-homebrew-on-mac">How to Install Homebrew on Mac</h2>
<p>First you need to install Homebrew, a powerful package manager for Mac.</p>
<p>Open up your terminal. You can do this by using MacOS spotlight (command+space) and typing "terminal".</p>
<p>Now that you're in a command line, you can install the latest version of Homebrew by running this command:</p>
<pre><code class="lang-bash">/bin/bash -c <span class="hljs-string">"<span class="hljs-subst">$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)</span>"</span>
</code></pre>
<p>Your terminal will ask for Super User-level access. You will need to type your password to run this command. This is the same password you type when you log into your Mac. Type it and hit enter.</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2021/04/freecodecamp_-__bin_bash_-c__-__bin_bash_-_sudo_-_bash_-c____bin_bash_012set_-u_012_012abort___-_012__printf___s_n_______012__exit_1_012-_012_012if___-z___-BASH_VERSION_--_____then_012__abort__Bash_is_required_to_interpret_this_script___012.png" alt="Image" width="600" height="400" loading="lazy">
<em>A screenshot of my heavily customized terminal. Your terminal will probably look different from this.</em></p>
<p>Homebrew will ask you to confirm you want to install the following. You have to press enter to continue. (Or press any other key if you get cold feet.)</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2021/04/freecodecamp_-__bin_bash_-c__-__bin_bash_-_bash_-c____bin_bash_012set_-u_012_012abort___-_012__printf___s_n_______012__exit_1_012-_012_012if___-z___-BASH_VERSION_--_____then_012__abort__Bash_is_required_to_interpret_this_script___012fi_012_.png" alt="Image" width="600" height="400" loading="lazy"></p>
<h2 id="heading-how-to-install-pyenv-to-manage-your-python-versions">How to Install pyenv to Manage Your Python Versions</h2>
<p>Now let's take a moment to install PyEnv. This library will help you switch between different versions of Python (in case you need to run Python 2.x for some reason, and in anticipation of Python 4.0 coming).</p>
<p>Run this command:</p>
<pre><code class="lang-bash">brew install pyenv
</code></pre>
<p><img src="https://www.freecodecamp.org/news/content/images/2021/04/freecodecamp_-_freecodecamp_MacBook-Pro_-___-_-zsh_-_90-24.png" alt="Image" width="600" height="400" loading="lazy">
<em>PyEnv installing</em></p>
<p>Now you can install the latest version of Python.</p>
<h2 id="heading-how-to-use-pyenv-to-install-python-or-update-your-python-version">How to Use pyenv to Install Python or Update Your Python Version</h2>
<p>Now you just need to run the following command:</p>
<pre><code class="lang-bash">pyenv install 3.9.2
</code></pre>
<p>Note that you can substitute 3.9.2 for whatever the latest version of Python is. For example, once Python 4.0.0 comes out, you can run this:</p>
<pre><code class="lang-bash">pyenv install 4.0.0
</code></pre>
<h2 id="heading-troubleshooting-pyenv-installation">Troubleshooting pyenv Installation</h2>
<p>If you encounter an error that "C compiler cannot create executables" then the simplest way to solve this is to reinstall Apple's Xcode.</p>
<p>Xcode is a tool created by Apple that includes all the C libraries and other tools that Python uses when it runs on MacOS. Xcode is a whopping 11 gigabytes, but you'll want to be up-to-date. You may want to run this while you're sleeping. </p>
<p>You can <a target="_blank" href="https://developer.apple.com/download/">get the latest version of Apple's Xcode here</a>. I had to do this after upgrading to MacOS Big Sur, but once I did, all the following commands worked fine. Just re-run the above <code>pyenv install 3.9.2</code> and it should now work.</p>
<h2 id="heading-how-to-set-up-your-macos-path-for-pyenv-bash-or-zsh">How to Set Up Your MacOS PATH for pyenv (Bash or ZSH)</h2>
<p>First you need to update your Unix path to pave a way for PyEnv to be able to interact with your system.</p>
<p>This is a long explanation of how PATH works in MacOS (and Unix), straight from <a target="_blank" href="https://github.com/pyenv/pyenv">the pyenv GitHub repo</a>.</p>
<blockquote>
<p>When you run a command like <code>python</code> or <code>pip</code>, your operating system searches through a list of directories to find an executable file with that name. This list of directories lives in an environment variable called <code>PATH</code>, with each directory in the list separated by a colon:</p>
</blockquote>
<pre><code>/usr/local/bin:<span class="hljs-regexp">/usr/</span>bin:/bin
</code></pre><blockquote>
<p>Directories in <code>PATH</code> are searched from left to right, so a matching executable in a directory at the beginning of the list takes precedence over another one at the end. In this example, the <code>/usr/local/bin</code> directory will be searched first, then <code>/usr/bin</code>, then <code>/bin</code>.</p>
</blockquote>
<p>And here is their explanation of what a Shim is. I'm quoting them at length again because I really can't explain this better myself.</p>
<blockquote>
<p>pyenv works by inserting a directory of <em>shims</em> at the front of your <code>PATH</code>:</p>
</blockquote>
<pre><code>$(pyenv root)/shims:<span class="hljs-regexp">/usr/</span>local/bin:<span class="hljs-regexp">/usr/</span>bin:/bin
</code></pre><blockquote>
<p>Through a process called <em>rehashing</em>, pyenv maintains shims in that directory to match every Python command across every installed version of Python—<code>python</code>, <code>pip</code>, and so on.</p>
<p>Shims are lightweight executables that simply pass your command along to pyenv.</p>
</blockquote>
<p>Here's how to update your <code>.bash_profile</code> in Bash (which is installed in MacOS by default):</p>
<pre><code>echo <span class="hljs-string">'export PYENV_ROOT="$HOME/.pyenv"'</span> &gt;&gt; ~/.bash_profile
</code></pre><p>Then run:</p>
<pre><code>echo <span class="hljs-string">'export PATH="$PYENV_ROOT/bin:$PATH"'</span> &gt;&gt; ~/.bash_profile
</code></pre><p><strong>Note:</strong> if you do not have a <code>/bin</code> directory in your <code>pyenv_root</code> folder (you may only have a <code>/shims</code> directory) you may need to instead run this version of the command: </p>
<pre><code><span class="hljs-string">`echo 'export PATH="$PYENV_ROOT/shims:$PATH"' &gt;&gt; ~/.bash_profile`</span>
</code></pre><p>Then you want to add PyEnv Init to your terminal. Run this command if you're using Bash (again, this is the default with MacOS):</p>
<pre><code>echo -e <span class="hljs-string">'if command -v pyenv 1&gt;/dev/null 2&gt;&amp;1; then\n  eval "$(pyenv init -)"\nfi'</span> &gt;&gt; ~/.bash_profile
</code></pre><p>Now reset your terminal by running this command:</p>
<pre><code>reset
</code></pre><h2 id="heading-how-to-set-up-your-macos-path-for-pyenv-in-zsh-or-ohmyzsh">How to Set Up Your MacOS PATH for pyenv in ZSH or OhMyZSH</h2>
<p>If instead of using the Mac default Bash, you're using ZSH (or OhMyZSH) like I am, you'll want to edit the <code>.zshrc</code> file instead:</p>
<pre><code>echo <span class="hljs-string">'export PYENV_ROOT="$HOME/.pyenv"'</span> &gt;&gt; ~/.zshrc
echo <span class="hljs-string">'export PATH="$PYENV_ROOT/bin:$PATH"'</span> &gt;&gt; ~/.zshrc
</code></pre><p>Then run this:</p>
<pre><code>echo -e <span class="hljs-string">'if command -v pyenv 1&gt;/dev/null 2&gt;&amp;1; then\n  eval "$(pyenv init --path)"\n  eval "$(pyenv init -)"\nfi'</span> &gt;&gt; ~/.zshrc
</code></pre><h2 id="heading-how-to-set-a-version-of-python-to-global-default-bash-or-zsh">How to Set a Version of Python to Global Default (Bash or ZSH)</h2>
<p>You can set the latest version of Python to be global, meaning it will be the default version of Python MacOS uses when you run Python applications.</p>
<p>Run this command:</p>
<pre><code class="lang-bash">pyenv global 3.9.2
</code></pre>
<p>Again, you can replace 3.9.2 with whatever the latest version is.</p>
<p>Now you can verify that this worked by checking the global version of Python:</p>
<pre><code class="lang-bash">pyenv versions
</code></pre>
<p>You should see this output:</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2021/04/freecodecamp_-_freecodecamp_MacBook-Pro_-_-zsh_-_84-24.png" alt="Image" width="600" height="400" loading="lazy">
<em>The * means that version is now the global default</em></p>
<h2 id="heading-the-final-step-close-your-terminal-and-restart-it">The Final Step: Close Your Terminal and Restart it</h2>
<p>Once you've restarted your terminal, you run the <code>python</code> command and you'll launch the new version of Python instead of the old one.</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2021/04/freecodecamp_-_python_-_python_-_python_-_119-36.png" alt="Image" width="600" height="400" loading="lazy">
<em>Yay. Python 3.9.2 and no deprecation warnings</em></p>
<p>Congratulations. Thank you for reading this, and happy coding.</p>
 ]]>
                </content:encoded>
            </item>
        
            <item>
                <title>
                    <![CDATA[ Macintosh Definition ]]>
                </title>
                <description>
                    <![CDATA[ Macintosh, or "Mac" for short, is a general term that refers to the family of computers developed by Apple. The term first rose to popularity with the Apple Macintosh computer, released in 1984. The Apple Macintosh, or Macintosh 128K, was one of the ... ]]>
                </description>
                <link>https://www.freecodecamp.org/news/macintosh-definition/</link>
                <guid isPermaLink="false">66c35ac339357f94469765e1</guid>
                
                    <category>
                        <![CDATA[ mac ]]>
                    </category>
                
                    <category>
                        <![CDATA[ macOS ]]>
                    </category>
                
                    <category>
                        <![CDATA[ Tech Terms ]]>
                    </category>
                
                <dc:creator>
                    <![CDATA[ freeCodeCamp ]]>
                </dc:creator>
                <pubDate>Fri, 19 Mar 2021 04:07:00 +0000</pubDate>
                <media:content url="https://cdn-media-2.freecodecamp.org/w1280/605d5df99618b008528a78fd.jpg" medium="image" />
                <content:encoded>
                    <![CDATA[ <p>Macintosh, or "Mac" for short, is a general term that refers to the family of computers developed by Apple.</p>
<p>The term first rose to popularity with the Apple Macintosh computer, released in 1984. The Apple Macintosh, or Macintosh 128K, was one of the first computers to feature a graphical user interface (GUI).</p>
<p>With the success of the Apple Macintosh, the company continued to use the Mac brand name. Later computers like the Macintosh II and Macintosh Portable used the name. And the main operating system became known as Mac OS.</p>
<p>These days, the term Macintosh or Mac refers to devices like the Macbook Air, Pro, and iMac, which all run macOS.</p>
<p>Though Apple computers are personal computers, "Mac" is often used to describe Apple computers running macOS. In this context, computers running Windows are referred to as PCs.</p>
<p>Check out the old Mac vs. PC ads for a good example of this branding in action.</p>
<h2 id="heading-related-tech-terms">Related Tech Terms:</h2>
<ul>
<li><a target="_blank" href="https://www.freecodecamp.org/news/pc-definition/">PC Definition</a></li>
</ul>
 ]]>
                </content:encoded>
            </item>
        
            <item>
                <title>
                    <![CDATA[ Don't Use the Mac System Ruby – Use This Instead ]]>
                </title>
                <description>
                    <![CDATA[ Someone may have once told you, "Don't use the system Ruby." It's good advice, but why? Let's find out. Which Ruby do you have? MacOS comes with a "system Ruby" pre-installed. Use the which command to see where Ruby is installed: $ which ruby /usr/bi... ]]>
                </description>
                <link>https://www.freecodecamp.org/news/do-not-use-mac-system-ruby-do-this-instead/</link>
                <guid isPermaLink="false">66ba15fb228e16bed602a8bc</guid>
                
                    <category>
                        <![CDATA[ best practices ]]>
                    </category>
                
                    <category>
                        <![CDATA[ mac ]]>
                    </category>
                
                    <category>
                        <![CDATA[ Ruby ]]>
                    </category>
                
                <dc:creator>
                    <![CDATA[ Daniel Kehoe ]]>
                </dc:creator>
                <pubDate>Wed, 10 Feb 2021 17:27:03 +0000</pubDate>
                <media:content url="https://www.freecodecamp.org/news/content/images/2021/02/photo-1522776851755-3914469f0ca2.jpeg" medium="image" />
                <content:encoded>
                    <![CDATA[ <p>Someone may have once told you, "Don't use the system Ruby." It's good advice, but why? Let's find out.</p>
<h2 id="heading-which-ruby-do-you-have">Which Ruby do you have?</h2>
<p>MacOS comes with a "system Ruby" pre-installed.</p>
<p>Use the <code>which</code> command to see where Ruby is installed:</p>
<pre><code class="lang-bash">$ <span class="hljs-built_in">which</span> ruby
/usr/bin/ruby
</code></pre>
<p>If you see <code>/usr/bin/ruby</code>, it is the pre-installed macOS system Ruby.</p>
<p>It's fine to use the system Ruby for running sysadmin scripts, as long as you don't alter the system Ruby by attempting to update it or add gems. </p>
<p>But you don't want to use it when you are developing projects in Ruby.</p>
<h2 id="heading-ruby-for-development">Ruby for development</h2>
<p>For developing projects with Ruby, you should <a target="_blank" href="https://mac.install.guide/ruby/12.html">Install Ruby with Homebrew</a> or use a version manager such as asdf, chruby, rbenv, or rvm. </p>
<p>A version manager helps if you're juggling multiple projects and can't update all at once. For a guide that compares version managers and shows the best way to install Ruby, see my article <a target="_blank" href="https://mac.install.guide/ruby/index.html">Install Ruby on a Mac</a>.</p>
<p>But why not use the macOS default Ruby? Let's take a look at the reasons why it's a bad idea to use the Mac default Ruby for development.</p>
<h3 id="heading-gem-installation-hassles">Gem installation hassles</h3>
<p>RubyGems are the ready-made software libraries that make development easy and fun in Ruby. Most Ruby projects use at least a few gems.</p>
<p>If you use the Mac system Ruby, running <code>gem install</code> will try to save gems to the system Ruby directory <code>/Library/Ruby/Gems/2.6.0</code>. That directory is owned by <code>root</code>, the system superuser. Ordinary users are not allowed to write to it (and you really shouldn't alter this folder).</p>
<p>If you try to install a gem, for example <code>gem install rails</code>, you'll get a permissions error:</p>
<pre><code class="lang-bash">ERROR: While executing gem ... (Gem::FilePermissionError)
You don<span class="hljs-string">'t have write permissions for the /Library/Ruby/Gems/2.6.0 directory</span>
</code></pre>
<h3 id="heading-it-violates-system-security">It violates system security</h3>
<p>Unix-based systems are powerful, so there's a workaround. You can install gems as a superuser to override the permissions restriction. But don't do this!</p>
<pre><code class="lang-bash">$ sudo gem install rails
</code></pre>
<p>Any time you are about to run <code>sudo</code>, you should stop and ask if you're about to shoot yourself in the foot. </p>
<p>In this case, you need <code>sudo</code> because you're altering system files that are managed by the OS. Don't do it! You may leave the system in a broken or compromised state. Even worse, a gem might contain malicious code that tampers with your computer.</p>
<h3 id="heading-gem-management">Gem management</h3>
<p>Experienced developers use <a target="_blank" href="https://bundler.io/">Bundler</a> to install gems and manage their dependencies. </p>
<p>Imagine you've got projects that use different versions of a gem (maybe there was a new gem release between your projects). Or maybe two different gems in your project rely on different versions of a dependent gem. </p>
<p>Bundler uses a Gemfile in your project directory to keep track of the gems you need. If you were to use <code>sudo</code> to install gems with the system Ruby, you'd end up with a mess of incompatible gems in the system Ruby directory. </p>
<p>You can work around the systems permission problem by <a target="_blank" href="https://bundler.io/doc/troubleshooting.html">installing Bundler</a> with a command that uses your home directory for gems. But it's easier to install Ruby with Homebrew or use a version manager and use the Bundler that comes installed, which will correctly set up your local development environment.</p>
<h3 id="heading-use-the-newest-ruby">Use the newest Ruby</h3>
<p>When you start a project, use the newest Ruby release (it's 3.0 at the time this was written). </p>
<p>The system Ruby in macOS Catalina or Big Sur is Ruby 2.6.3, which is old. If you're just starting with Ruby, install with Homebrew and work on a project with Ruby 3.0. When you start building another project, it may be time to install a version manager so you can juggle projects with different Ruby versions.</p>
<h2 id="heading-macos-after-big-sur">MacOS after Big Sur</h2>
<p>MacOS Big Sur is now the current version. <a target="_blank" href="https://developer.apple.com/documentation/macos-release-notes/macos-catalina-10_15-release-notes">Apple says</a>:</p>
<blockquote>
<p><em>"Scripting language runtimes such as Python, Ruby, and Perl are included in macOS for compatibility with legacy software. Future versions of macOS won’t include scripting language runtimes by default, and might require you to install additional packages."</em></p>
</blockquote>
<p>If you're reading this at the end of 2021, the system Ruby may already be gone. If not, prepare yourself by installing Ruby with Homebrew or a version manager. </p>
<h2 id="heading-enjoy-ruby">Enjoy Ruby</h2>
<p>For developers planning to build web applications with Rails, I've written a guide, <a target="_blank" href="https://learn-rails.com/install-rails-mac/index.html">Install Rails on a Mac</a>, which goes beyond <a target="_blank" href="https://mac.install.guide/ruby/index.html">Install Ruby on a Mac</a> to show how to pick a version manager that will work with Node as well as Ruby.</p>
<p>Enjoy the pleasure of coding in Ruby! After all, it is known as a language dedicated to programmer happiness. But remember, the system Ruby is there for macOS, not for you.</p>
 ]]>
                </content:encoded>
            </item>
        
            <item>
                <title>
                    <![CDATA[ How to Take a Screenshot on a Mac – A Keyboard Shortcut to Capture a Screen Shot in MacOS ]]>
                </title>
                <description>
                    <![CDATA[ Sometimes it's useful to capture an image or some text on your computer screen. But what if it's something that's not downloadable or copyable?  In that case, you'll want to take a screenshot of either all or part of your screen. Taking a screenshot ... ]]>
                </description>
                <link>https://www.freecodecamp.org/news/how-to-take-a-screenshot-on-a-mac-keyboard-shortcut/</link>
                <guid isPermaLink="false">66b1fa4909c44225ad2c3907</guid>
                
                    <category>
                        <![CDATA[ how-to ]]>
                    </category>
                
                    <category>
                        <![CDATA[ mac ]]>
                    </category>
                
                    <category>
                        <![CDATA[ Tutorial ]]>
                    </category>
                
                <dc:creator>
                    <![CDATA[ Abigail Rennemeyer ]]>
                </dc:creator>
                <pubDate>Mon, 18 Jan 2021 05:47:00 +0000</pubDate>
                <media:content url="https://cdn-media-2.freecodecamp.org/w1280/6001ced098be260817e4a4d7.jpg" medium="image" />
                <content:encoded>
                    <![CDATA[ <p>Sometimes it's useful to capture an image or some text on your computer screen. But what if it's something that's not downloadable or copyable? </p>
<p>In that case, you'll want to take a screenshot of either all or part of your screen. Taking a screenshot is like taking a photograph of something on your screen. It preserves whatever you're looking at exactly and sends it to your downloads so you can access it whenever you like.</p>
<p>In this tutorial, we'll see how you can take a screenshot on your Mac with just a few keystrokes.</p>
<h2 id="heading-how-to-take-a-screenshot-on-a-mac-part-of-the-screen">How to Take a Screenshot on a Mac – Part of the Screen</h2>
<p>The easiest way to take a screenshot, in my opinion, is to use a simple keyboard shortcut: Command+Shift+4. The shortcut gives you the option to select a portion of the screen or to screenshot the whole screen. </p>
<p>If you just want to capture a part of your screen (that you choose), simply follow the instructions below (Steps 1-4). If you want to capture the whole screen, you'll find instructions to do that afterwards.</p>
<h3 id="heading-step-1-press-command-shift-4">Step 1: Press Command + Shift + 4</h3>
<p>If you just press Command + Shift + 4, your cursor will turn into a little crosshair-looking icon. </p>
<p>Note that you want to hold down each key until you're done keying in the shortcut, so press and hold the command key (and keep holding it down), then press the Shift key (while holding the command key, and keep holding the shift key as well), and then press the 4 key (while holding those other keys). Then you can release all three keys.</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2021/01/screen-shot-cursor.png" alt="Image" width="600" height="400" loading="lazy">
<em>Press Command+Shift+4, click where you want the screenshot to start, and hold down your click (don't release it)</em></p>
<h3 id="heading-step-2-click-and-drag-the-cursor">Step 2: Click and drag the cursor</h3>
<p>To take the screenshot, simply click in the spot where you want your screenshot to start (don't release the click) and drag the cursor to where you want the screenshot to finish. </p>
<p><img src="https://www.freecodecamp.org/news/content/images/2021/01/screen-shoot-cursor-drag.png" alt="Image" width="600" height="400" loading="lazy">
<em>Drag over and down (while still holding the click press) until you cover all the area you want captured</em></p>
<h3 id="heading-step-3-release-your-cursor-click">Step 3: Release your cursor click</h3>
<p>When you've got all the area covered that you want to capture, release your click press and you'll hear a little capture sound (if your sound is on). A minified form of the image will appear in the bottom right corner of your screen, like this:</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2021/01/screen-shot-bottom-corner.png" alt="Image" width="600" height="400" loading="lazy">
<em>The screenshot image will go to the bottom right corner of your screen</em></p>
<h3 id="heading-step-4-edit-and-save-your-screenshot">Step 4: Edit and save your screenshot</h3>
<p>You can click on that mini image, and it will be opened in an editor. There you can mark it up, add text and arrows (like I've done above), and send it anywhere on your computer that you like. Just click the icon in the upper right that looks like a pen tip and the editor menu will open:</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2021/01/Screen-Shot-2021-01-15-at-3.03.00-PM.png" alt="Image" width="600" height="400" loading="lazy">
<em>Click the pen tip icon...</em></p>
<p><img src="https://www.freecodecamp.org/news/content/images/2021/01/Screen-Shot-2021-01-15-at-3.05.07-PM.png" alt="Image" width="600" height="400" loading="lazy">
<em>...and the editor menu bar will pop up</em></p>
<p>Once you've marked up your screenshot to your heart's desire, just save it (Command+s does the trick). Then you'll be able to find it on your desktop, in your "Recents", or in your downloads. </p>
<h2 id="heading-how-to-take-a-screenshot-on-a-mac-the-whole-screen">How to Take a Screenshot on a Mac – the Whole Screen</h2>
<p>If you want to capture the whole screen, you'll start off the same way – by pressing Command+Shift+4.</p>
<p>Then, instead of dragging the cursor to capture just the part of the screen you want, press the space bar. (You'll do this immediately after keying in the shortcut.) This changes the screen capture field to be the entire screen. </p>
<p>The cursor will turn into a camera icon and your whole screen will be highlighted in a light pinkish-red color. To capture the screenshot, simply click on the camera icon, and voilà - you have a full screen screenshot.</p>
<h2 id="heading-how-to-take-a-screen-recording-on-a-mac">How to Take a Screen Recording on a Mac</h2>
<p>What if a still image isn't enough to show what you want to show? What if you want to record yourself demoing a new product or writing instructions to a tutorial?</p>
<p>Mac makes that pretty easy, too. Simply key in Shift+Command+5. You'll see a menu pop up that looks like this:</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2021/01/Screen-Shot-2021-01-15-at-3.25.56-PM.png" alt="Image" width="600" height="400" loading="lazy">
<em>Screen recording menu, courtesy of <a target="_blank" href="https://support.apple.com/en-ca/HT208721">Apple Support</a> (fun fact - you can't take a screen shot while you're screen recording!).</em></p>
<p>Select whether you want to record the whole screen or just part of it (those screen-looking icons on that menu) and then, when you're ready, hit record. If you want sound, just make sure you enable your machine's microphone in the "Options" drop-down menu.</p>
<p>To stop recording, either press the stop button or key in Command+Control+Esc.</p>
<p>And there you have it - now you know how to take screenshots on a Mac with just a couple keystrokes.</p>
 ]]>
                </content:encoded>
            </item>
        
            <item>
                <title>
                    <![CDATA[ Task Manager Mac Guide – How to Force Quit Apps Using The Apple Control-Alt-Delete Shortcut Equivalent ]]>
                </title>
                <description>
                    <![CDATA[ By Ai-Lyn Tang Have you ever tried to use an application on your laptop, only to find that your cursor is a spinning beach ball? You can move the beach ball around the screen, but no matter what you do, you can't seem to click anything. You can't sav... ]]>
                </description>
                <link>https://www.freecodecamp.org/news/task-manager-mac-how-to-force-quit-beach-ball-control-alt-delete-shortcut-equivalent/</link>
                <guid isPermaLink="false">66d45d61b3016bf139028d17</guid>
                
                    <category>
                        <![CDATA[ mac ]]>
                    </category>
                
                    <category>
                        <![CDATA[ macOS ]]>
                    </category>
                
                <dc:creator>
                    <![CDATA[ freeCodeCamp ]]>
                </dc:creator>
                <pubDate>Fri, 08 Jan 2021 11:00:00 +0000</pubDate>
                <media:content url="https://cdn-media-2.freecodecamp.org/w1280/5f9c95b2740569d1a4ca0e11.jpg" medium="image" />
                <content:encoded>
                    <![CDATA[ <p>By Ai-Lyn Tang</p>
<p>Have you ever tried to use an application on your laptop, only to find that your cursor is a spinning beach ball?</p>
<p>You can move the beach ball around the screen, but no matter what you do, you can't seem to click anything.</p>
<p>You can't save your work. You can't close the application. You can't edit anything. This is a frozen application.</p>
<p>In this situation, there are only two things you can do:</p>
<ol>
<li>Force the application to close and lose any unsaved changes (also known as force quit)</li>
<li>Or wait and hope that the application unfreezes itself</li>
</ol>
<h2 id="heading-how-to-force-quit-a-mac-app-controlaltdelete-style">How to Force Quit a Mac App Control+Alt+Delete Style</h2>
<p>Use this option if you need to use the application straight away. Be aware that you will lose any work that you haven’t saved.</p>
<p>First, open the application and try one last time to close it the standard way, by clicking the red 'x' in the top left of the application:</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2021/01/Screen-Shot-2021-01-09-at-7.46.21-am.png" alt="Image" width="600" height="400" loading="lazy">
<em>Click the red 'x' to close the application in the standard way</em></p>
<p>If your cursor is still a spinning beach ball, and clicking the 'x' doesn't close the application, then it's time to force the application to close.</p>
<p>On a PC,  use the keyboard shortcut to force an application to close down is <strong>control + alt + delete</strong>. You hold down all three buttons at the same time. And you may be wondering: does Mac have an equivalent shortcut?</p>
<p>Why yes, it does. The Mac equivalent keyboard shortcut is: <strong>command + option + escape</strong>.</p>
<p>This will bring up the following screen, called the Mac Task Manager:</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2021/01/Screen-Shot-2021-01-09-at-8.04.44-am.png" alt="Image" width="600" height="400" loading="lazy">
<em>In this image, all applications are running normally, and none are frozen.</em></p>
<p>I have multiple applications running. Each of them appears to be operating as expected in the image above. None are frozen.</p>
<p>If your app is frozen, it should have a little note saying "not responding" next to it. If it doesn't have this note, it may be worth doing option #2 (wait and hope) if you have work that you did not save.</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2021/01/Screen-Shot-2021-01-09-at-7.59.34-am.png" alt="Image" width="600" height="400" loading="lazy">
<em>Mocked up example of the "Notes" application not responding</em></p>
<p>Click on the application you want to force quit. Above, I have clicked on Google Chrome. </p>
<p>Now, click the "Force Quit" button in the bottom right of the popup.</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2021/01/Screen-Shot-2021-01-09-at-7.55.38-am.png" alt="Image" width="600" height="400" loading="lazy">
<em>Steps to force quit an application</em></p>
<h2 id="heading-option-2-wait-and-hope-that-the-application-fixes-itself">Option #2: Wait and hope that the application fixes itself</h2>
<p>If you have the time, you may prefer to wait and hope the application unfreezes itself.</p>
<p>Why would you do this? Generally because you have some work you did not manage to save before the application froze. For example, let's say you are working on a spreadsheet and made lots of changes. Sadly Excel froze before you saved your changes.</p>
<p>This is a classic example where you may prefer to wait and hope.</p>
<p>There are no guarantees on how long the application will take to resolve the issue, nor if it will ever resolve.</p>
<p>If you decide to try this approach, I suggest checking back on the application every 5-10 minutes. Click around, see if anything has changed, and give yourself a maximum time limit. I personally would only wait about an hour before deciding that it's time to say goodbye to my work.</p>
<h2 id="heading-in-summary-heres-how-to-deal-with-the-beach-ball-of-death">In Summary, Here's how to deal with the "Beach Ball of Death"</h2>
<p>To summarize, the steps are:</p>
<ol>
<li>Hold down <strong>command + option + escape</strong></li>
<li>Select the application you want to force quit</li>
<li>Click the force quit button</li>
</ol>
<p>You can force quit an application that is still responsive. However force quitting will mean the status of the application is not saved, and the application doesn't shut down in its intended way. I'd recommend only force quitting frozen applications.</p>
<p>Good luck!</p>
 ]]>
                </content:encoded>
            </item>
        
            <item>
                <title>
                    <![CDATA[ How to Type Letters with Accents on Mac ]]>
                </title>
                <description>
                    <![CDATA[ If you're writing in a language other than English, you'll likely need to know how to include accent marks. You know, like voilà, olé, or über. Fortunately, there are a couple easy ways to do this on a Mac. In this article, we'll go through the main ... ]]>
                </description>
                <link>https://www.freecodecamp.org/news/how-to-type-letters-with-accents-on-mac/</link>
                <guid isPermaLink="false">66b1fa4b7dd34c3b72fe22dd</guid>
                
                    <category>
                        <![CDATA[ Foreign Language ]]>
                    </category>
                
                    <category>
                        <![CDATA[ how-to ]]>
                    </category>
                
                    <category>
                        <![CDATA[ mac ]]>
                    </category>
                
                    <category>
                        <![CDATA[ writing ]]>
                    </category>
                
                <dc:creator>
                    <![CDATA[ Abigail Rennemeyer ]]>
                </dc:creator>
                <pubDate>Tue, 24 Nov 2020 10:30:28 +0000</pubDate>
                <media:content url="https://cdn-media-2.freecodecamp.org/w1280/5fac64b849c47664ed81e086.jpg" medium="image" />
                <content:encoded>
                    <![CDATA[ <p>If you're writing in a language other than English, you'll likely need to know how to include accent marks. You know, like voilà, olé, or über.</p>
<p>Fortunately, there are a couple easy ways to do this on a Mac. In this article, we'll go through the main methods so you can add accents to your text with ease.</p>
<h2 id="heading-the-press-and-hold-accent-method-on-mac">The Press and Hold Accent Method on Mac</h2>
<p>If you're not in a rush and you want to see all the common accent options at a glance, there's an easy way to do that.</p>
<p>Simply press and hold the key on which you'd like the accent to appear, and a number of options will come up above the letter, like this:</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2020/11/Press-and-hold-accent-method.png" alt="Image" width="600" height="400" loading="lazy">
<em>Press and hold accent method</em></p>
<p>When you see the type of accent you'd like to add, just type that number and the accent will be added to the letter. You can also use the left and right arrow keys (and enter) to select which one you want.</p>
<p>So, for example, if you wanted the second option, above, you'd press and hold e, then press 2 (or press the right arrow key once and then enter).</p>
<p>This method works well if you don't mind the time it takes for that little accent menu to pop up. But it doesn't always include all accents in every language. And it does slow down your flow, especially if you're typing a whole article in another language. Whew, that's a lot of added time.</p>
<p>Fortunately, there's another common method that involves keyboard shortcuts. And gives you all the options, as well.</p>
<h2 id="heading-the-option-key-accent-method-on-mac">The Option Key Accent Method on Mac</h2>
<p>The Option key helps you add all kinds of accent and diacritic marks to your text. Just press and hold the Option key (the same as the Alt key), then press the "e" key, and then release them and press the letter key to which you'd like to add the accent.</p>
<p>For example, if you'd like to add an acute accent (´) to the letters a, e, i, o, or u, you'd press Option + e, and then the letter to which you'd like to add the accent. So, Option+e+a gets you á.</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2020/11/quincy-accent-tweet.png" alt="Image" width="600" height="400" loading="lazy">
<em>Accent insights from freeCodeCamp's founder.</em></p>
<p>But what if you want a different sort of accent, like a grave or umlaut? Don't worry – there are option key combos for those, too (and more).</p>
<ul>
<li>Option + ` + letter = grave accent à, è, ì, ò, or ù (like this: Voilà)</li>
<li>Option + i + letter = circumflex accent â, ê, î, ô, or û (like this: Crêpe)</li>
<li>Option + n + letter = eñe character ñ, ã, or õ (like this: El Niño)</li>
<li>Option + u + letter = umlaut accent ä, ë, ï, ö, or ü (like this: Über)</li>
<li>Option + a or Shift + Option + A (for capital A) = å or Å</li>
<li>Option + ' or Shift + Option + ' = æ or Æ (ligatured ae)</li>
<li>Option + q or Shift + Option + Q (for capital letters) = œ or Œ</li>
<li>Option + c or Shift + Option + C (for capital) = ç or Ç</li>
<li>Option + o or Shift + Option + O (for capital) = ø or Ø</li>
<li>Shift + Option + ? = ¿</li>
<li>Option + 1 = ¡</li>
<li>Option + 5 = ∞</li>
</ul>
<p>Once you memorize these combinations, you can incorporate the keystrokes right into your typical typing flow. And you can always bookmark this article in case you forget :).</p>
<h2 id="heading-bonus-other-option-key-combos-on-mac">Bonus: Other Option Key combos on Mac</h2>
<p>What if you need to type some math symbols? Or the symbol for the Euro currency? You'll need more than just accent options.</p>
<p>Well, did you know – your basic English-language keyboard is hiding all those special characters right in (almost) plain sight? </p>
<p>By holding the option key and pressing any of the letters/numbers/punctuation marks, you can create a completely different character than what's printed on your keyboard.</p>
<p>So how do you know what each key combo gets you? Don't worry – your Mac can tell you. It just takes a few steps to find that info.</p>
<h3 id="heading-step-1-go-to-system-preferences">Step 1: Go to System Preferences</h3>
<p>Find the Apple icon in the upper left corner, and click it. Then select "System Preferences" from the dropdown menu.</p>
<p>Select the Keyboard icon, and you'll see this box:</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2020/11/keyboard-customization.png" alt="Image" width="600" height="400" loading="lazy">
<em>How to customize your keyboard.</em></p>
<p>Make sure the "Show keyboard and emoji viewers in menu bar" is checked (as it is in the image above).</p>
<h3 id="heading-step-2-click-the-keyboard-icon-in-your-top-menu-bar">Step 2: Click the keyboard icon in your top menu bar</h3>
<p>Now you'll see a little keyboard icon in your top menu bar, next to your bluetooth and wifi symbols/icons. Click it, and select "Show keyboard viewer".</p>
<p>That will bring up an image of your keyboard as it's configured on your Mac:</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2020/11/keyboard-viewer.png" alt="Image" width="600" height="400" loading="lazy">
<em>Your keyboard's basic configuration.</em></p>
<h3 id="heading-step-3-press-the-options-key">Step 3: Press the Options key</h3>
<p>Now, if you hold down the Options key, it'll show you what else all those keys can do, like this:</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2020/11/Options-keyboard.png" alt="Image" width="600" height="400" loading="lazy">
<em>So many options...</em></p>
<p>You can see the most common accent marks highlighted in orange above. Those are the keys that, when combined with the Option key, give you those accent marks (as you learned above).</p>
<p>You'll also see all kinds of other useful symbols, like currency symbols, math symbols, and so on. So if you ever need a quick reminder about what keys to press when you need to write the Greek letter µ (miu), for example, just reference this chart.</p>
<h2 id="heading-how-to-add-accents-on-windows-with-the-international-keyboard">How to Add Accents on Windows with the International Keyboard</h2>
<p>If you want to use shortcuts to include accents and special characters without switching to an entirely different keyboard layout, you can enable the international keyboard.</p>
<p>First, press the Windows key, type "Language", and click on "Language Settings" to open the language menu:</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2020/11/image-152.png" alt="Image" width="600" height="400" loading="lazy">
<em>The Windows 10 language menu.</em></p>
<p>Then under "Preferred languages" click on "English" and "Options" to open the language options menu:</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2020/11/image-150.png" alt="The Windows 10 English Language Options menu." width="600" height="400" loading="lazy">
<em>The Windows 10 English Language Options menu.</em></p>
<p>Under "Keyboards", click the "Add a keyboard" button and click on "United States-International" to add the international keyboard to your system.</p>
<p>To enable the international keyboard, move your mouse down to the taskbar and click on "ENG US", then click on "ENG INTL":</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2020/11/image-153.png" alt="Use the keyboard select menu in the taskbar to enable the international keyboard." width="600" height="400" loading="lazy">
<em>Use the keyboard select menu in the taskbar to enable the international keyboard.</em></p>
<p>Alternatively, hold down the Windows key and press Space to cycle through your installed keyboard layouts.</p>
<p>The main difference between the normal US keyboard layout and the international layout is that some keys work as a sort of "accented character lock".</p>
<p>For example, to type a single apostrophe (') with the international keyboard enabled, just type ' + Space. For a double quotation mark, just type " + Space. And backticks work the same way with ` + Space.</p>
<p>With that out of the way, here's how to type some common accents with the Windows 10 international keyboard:</p>
<ul>
<li>` + letter = grave accent à, è, ì, ò, or ù (like this: Voilà)</li>
<li>^ + letter = circumflex accent â, ê, î, ô, or û (like this: Crêpe)</li>
<li>~ + letter = eñe character ñ, ã, or õ (like this: El Niño)</li>
<li>" + letter = umlaut accent ä, ë, ï, ö, or ü (like this: Über)</li>
<li>Right Alt+ w or Shift + Right Alt + W (for capital A) = å or Å</li>
<li>Right Alt + z or Shift + Right Alt + Z = æ or Æ (ligatured ae)</li>
<li>Right Alt + &lt; or Shift + Right Alt + &lt; (for capital) = ç or Ç</li>
<li>Right Alt + l or Shift + Right Alt + L (for capital) = ø or Ø</li>
<li>Right Alt + ? = ¿</li>
<li>Right Alt + 1 = ¡</li>
</ul>
<p>But you might have noticed that there's no shortcut to type œ, Œ, or ∞ with the international keyboard.</p>
<p>For that, let's take a quick look at another way to type accents, special characters, and symbols on Windows 10.</p>
<h2 id="heading-how-to-add-accents-on-windows-with-the-emoji-panel">How to Add Accents on Windows with the Emoji Panel</h2>
<p>The emoji panel makes it easy to scroll through all the available emoji and add one to a message. But you can also use the emoji panel to quickly add an accented or special character, too.</p>
<p>Use the shortcut Windows Key + . to open the emoji panel:</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2020/11/image-154.png" alt="The Windows 10 emoji panel." width="600" height="400" loading="lazy">
<em>The Windows 10 emoji panel.</em></p>
<p>To add accents or special characters, press the symbols button at the top:</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2020/11/image-156.png" alt="The Windows 10 emoji panel's Symbol options." width="600" height="400" loading="lazy">
<em>The Windows 10 emoji panel's Symbol options.</em></p>
<p>Then scroll through the menu and click on the accent or character you want:</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2020/11/image-157.png" alt="Selecting the œ character in the Windows 10 emoji picker." width="600" height="400" loading="lazy">
<em>Selecting the œ character in the Windows 10 emoji picker.</em></p>
<p>Also, you can click around the different menus at the bottom for different types of symbols. For example, ∞ is in the "Math symbols" section:</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2020/11/image-158.png" alt="Selecting the ∞ character in the Windows 10 emoji picker." width="600" height="400" loading="lazy">
<em>Selecting the ∞ character in the Windows 10 emoji picker.</em></p>
<p>And that should be everything you need to know to type accents and other special characters on both Mac and Windows. Adiós!</p>
 ]]>
                </content:encoded>
            </item>
        
            <item>
                <title>
                    <![CDATA[ HEIC to JPG – How to Convert Images on a Mac ]]>
                </title>
                <description>
                    <![CDATA[ If you're an Apple user, chances are you've seen the .heic file extension on your photos. And you might wonder – what is this photo format, and why does Apple use it? In this article we'll discuss what HEIC is, how it's different from the JPG format,... ]]>
                </description>
                <link>https://www.freecodecamp.org/news/heic-to-jpg-how-to-convert-images-on-a-mac/</link>
                <guid isPermaLink="false">66b1fa2e3c37998c256a1d23</guid>
                
                    <category>
                        <![CDATA[ Image Compression ]]>
                    </category>
                
                    <category>
                        <![CDATA[ mac ]]>
                    </category>
                
                    <category>
                        <![CDATA[ Photography ]]>
                    </category>
                
                <dc:creator>
                    <![CDATA[ Abigail Rennemeyer ]]>
                </dc:creator>
                <pubDate>Mon, 28 Sep 2020 16:18:00 +0000</pubDate>
                <media:content url="https://cdn-media-2.freecodecamp.org/w1280/5f9c9881740569d1a4ca1a71.jpg" medium="image" />
                <content:encoded>
                    <![CDATA[ <p>If you're an Apple user, chances are you've seen the .heic file extension on your photos. And you might wonder – what is this photo format, and why does Apple use it?</p>
<p>In this article we'll discuss what HEIC is, how it's different from the JPG format, why Apple uses it, how to convert from HEIC to JPG, and more.</p>
<h2 id="heading-what-is-the-heic-file-format">What is the HEIC file format?</h2>
<p>Well, first of all, .heic is the file extension that appears on HEIF files/images. HEIF stands for High Efficiency Image Format, and it was adopted by Apple in 2017. </p>
<p>As you might be able to guess from its name, photos stored in this way are "more efficient". That is, they're smaller while still maintaining their quality.</p>
<p>HEIF isn't actually a format, per se. Rather, it's a container in which the photo is stored that uses advanced compression techniques to squish that photo down into about half the size of a JPG.</p>
<p>A quick note, in case you're wondering: HEIF is the standard, and HEIC is the format name Apple gave it :) So I'll refer to it as HEIC in this article for simplicity's sake.</p>
<h2 id="heading-the-differences-between-heic-and-jpg">The differences between HEIC and JPG</h2>
<p>There are several important differences between HEIC files and JPG files. You might be more familiar with JPG, because it's been around longer and everyone (on any device) can use and view them easily.</p>
<p>So let's break down the main differences between these two formats:</p>
<h3 id="heading-operating-system-support-for-heic-vs-jpg">Operating system support for HEIC vs JPG</h3>
<p>One of the limiting factors of HEIC is that it's only natively supported by Apple's operating system (iOS 11 and higher, and MacOS High Sierra and higher).</p>
<p>But don't worry – even though your iPhone takes photos in HEIC, if you have iOS 11 or MacOS Sierra and higher you can easily convert these photos to JPG (more on that below).</p>
<p>That way you can share them with whomever you want without worrying if your buddy will be able to open them on their Android phone, for example.</p>
<p>If you're a Windows or Android user, you can't simply open a HEIF should you find yourself in possession of one. You'll need to download an extension or program to help you deal with it.</p>
<h3 id="heading-size-and-quality-of-heic-vs-jpg-photos">Size and quality of HEIC vs JPG photos</h3>
<p>Another main difference is the size of the photos, as mentioned above. HEIC photos are extra compressed, basically, so that they end up being about half the size of their JPG counterparts.</p>
<p>Also, despite that extra compression, HEIC photos still maintain their quality (and will actually be higher quality than a JPG of the same size). So you can actually get a better, higher resolution HEIF photo that's the same size as a not-so-high-quality JPG. Pretty neat.</p>
<h3 id="heading-compatibility-of-heic-vs-jpg">Compatibility of HEIC vs JPG</h3>
<p>As you now already know, you can't just casually open a HEIC file if you don't have a Mac or iPhone. That's one of it's major downsides, and the reason Apple's OS converts HEIC photos to JPG when you download them or go to share them.</p>
<p>JPG files, on the other hand, are compatible with all operating systems and browsers. So you can open a JPG anywhere.</p>
<p>Until the rest of the world adopts the HEIC format, you'll have to convert to JPG if you want an easy photo opening/viewing experience.</p>
<h3 id="heading-format-details">Format details</h3>
<p>There are a couple other interesting differences between HEIC and JPG. </p>
<p>First of all, HEIC photos have 16-bit "deep color", whereas JPG only have 8-bit. So your HEIC photos can capture all those beautiful sunset nuances a lot better than JPG.</p>
<p>Second, HEIC files can store multiple images or bursts or live photos (in a single file), whereas JPG can only store one image per file. This gives HEIC more flexibility and allows it to store more types of photos (and more than one photo per file).</p>
<h2 id="heading-how-to-convert-heic-to-jpg-on-your-mac">How to convert HEIC to JPG on your Mac</h2>
<p>If your Mac is running High Sierra or later, you can convert HEIC images to JPG right in your photo Preview App.</p>
<p>Note: if you haven't updated your OS, you'll need to use an online converter.</p>
<p>But back to our process - here's how to convert those images in a few simple steps.</p>
<h3 id="heading-step-1-select-the-photo-you-want-to-convert-to-jpg">Step 1: Select the photo you want to convert to JPG</h3>
<p>First you need to open Finder and get to your HEIC photos. I just searched for "heic" in the search bar, but if you have a folder where you keep them you can go there.</p>
<p>Next, select the photo(s) you want to convert, and right click on it (two-finger click on your laptop's trackpad). That will bring up a little menu like you see below:</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2020/10/Finder-heic-image.png" alt="Image" width="600" height="400" loading="lazy">
<em>Right click on the image you want to convert</em></p>
<h3 id="heading-step-2-open-the-photo-with-the-preview-app">Step 2: Open the photo with the Preview App</h3>
<p>You'll select "Open with" (the second option for me) and then the default, "Preview" as you see in the image above.</p>
<p>Once you make those selections, it'll take you to the photo in the Preview App. </p>
<h3 id="heading-step-3-select-and-export-the-photo">Step 3: Select and export the photo</h3>
<p>Next, you need to choose "Edit" from Preview's menu bar, and then "Select All".</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2020/10/Convert-HEIC-edit-settings-1.png" alt="Image" width="600" height="400" loading="lazy">
<em>Edit, then Select All</em></p>
<p>You'll see a little moving dashed line around the outside of the photo - this tells you your "select all" action worked.</p>
<p>Now, go back up to Preview's menu bar and select "File" and then "Export", like this:</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2020/10/Export-HEIC-image.png" alt="Image" width="600" height="400" loading="lazy">
<em>You'll need to export your image - which then gives you the option to change formats.</em></p>
<h3 id="heading-step-4-convert-from-heic-to-jpg-format">Step 4: Convert from HEIC to JPG format</h3>
<p>Once you select "Export", you'll see the following box pop up:</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2020/10/change-from-heic-to-jpeg.png" alt="Image" width="600" height="400" loading="lazy">
<em>Just change from HEIC to JPG and save and you're set!</em></p>
<p>You'll see that the "Format" is currently set to HEIC. Just click on HEIC and a little dropdown will show you all the other formats you can choose from (like in the image above). </p>
<p>Just select "JPG" instead and hit "Save". Then your photo will be converted into JPG! And you can confidently share away.</p>
<p>Just a quick note: you can also update where you want the photo saved. You can see in the image above that I have Desktop selected, but feel free to save to whatever location you like.</p>
<h2 id="heading-what-if-you-want-to-turn-heic-off">What if you want to turn HEIC off?</h2>
<p>So what if you don't want to deal with these steps and just want your phone to take JPG photos instead of HEIC?</p>
<p>You can do that by following these steps:</p>
<ol>
<li>Go to your iPhone's settings, and scroll down until you see "Camera" – select it</li>
<li>You'll see various settings, with "Formats" at the top – select it</li>
<li>You'll see two options, "High Efficiency" and "Most Compatible". It's likely set to "High Efficiency" by default (HEIC) so just change that to "Most Compatible" and that'll change it to JPG.</li>
</ol>
<p>And voilà, the photos you now take will be in JPG format.</p>
 ]]>
                </content:encoded>
            </item>
        
    </channel>
</rss>
