• Latest
  • Trending
How to Use Terminal on Your Mac – The Mac Observer

How to Use Terminal on Your Mac – The Mac Observer

08.02.2023
The Simpsons: 14 of the show’s most disturbing predictions – The Independent

The Simpsons: 14 of the show’s most disturbing predictions – The Independent

20.03.2023
Scientists Discover Intense Heat Waves at the Bottom of the Ocean – ScienceAlert

Scientists Discover Intense Heat Waves at the Bottom of the Ocean – ScienceAlert

20.03.2023
Global Debt Collection Software Market Report 2023: Increase… – GlobeNewswire

2023 Global Debt Financing Market Research Report with… – GlobeNewswire

20.03.2023
How Apple Siri, Amazon Alexa and Google Assistant lost the AI ​​race

How Apple Siri, Amazon Alexa and Google Assistant lost the AI ​​race

20.03.2023
Taylor Swift Fan Danica Patrick’s Fangirl Moment Delights Other ‘Swifties’

Taylor Swift Fan Danica Patrick’s Fangirl Moment Delights Other ‘Swifties’

20.03.2023
NVIDIA Corp. (NVDA) Q4 2023 Earnings Call Transcript – Seeking Alpha

European stocks fall as investors price a… – Seeking Alpha

20.03.2023
Android 14 could finally separate ringtone and notification volumes – Android Police

Android 14 could finally separate ringtone and notification volumes – Android Police

20.03.2023
Maya Jama shows off her abs in a bra top and cutout miniskirt at fun night at the UFC

Maya Jama shows off her abs in a bra top and cutout miniskirt at fun night at the UFC

20.03.2023
Nicki Minaj Scores Consecutive Number One Debut On Hot Rap Songs Chart With Red Ruby Da Sleeze – Daily Mail

Nicki Minaj Scores Consecutive Number One Debut On Hot Rap Songs Chart With Red Ruby Da Sleeze – Daily Mail

20.03.2023
New York Community Bank agrees to buy large chunk of Signature Bank – NPR

New York Community Bank agrees to buy large chunk of Signature Bank – NPR

20.03.2023
Open Interest in Bitcoin Futures Reaches Yearly High of $12 Billion Cryptocurrency

Open Interest in Bitcoin Futures Reaches Yearly High of $12 Billion Cryptocurrency

20.03.2023

Calls for introducing happiness classes in schools grow as new curriculum proves to have significant impact

20.03.2023
Monday, March 20, 2023
  • World
  • Economics
  • Sport
    • Basketball
    • Football
    • Nfl
    • Golf
    • F1
    • UFC
  • Technology
  • Culture
    • Arts
  • Media
    • Film
    • Celebs
    • TV
  • LifeStyle
    • Auto
  • Travel
OLTNEWS
  • World
  • Economics
  • Sport
    • Basketball
    • Football
    • Nfl
    • Golf
    • F1
    • UFC
  • Technology
  • Culture
    • Arts
  • Media
    • Film
    • Celebs
    • TV
  • LifeStyle
    • Auto
  • Travel
OLTNEWS
No Result
View All Result

Home » Technology » How to Use Terminal on Your Mac – The Mac Observer

How to Use Terminal on Your Mac – The Mac Observer

08/02/2023 00:09:13
in Technology
0

Related posts

How Apple Siri, Amazon Alexa and Google Assistant lost the AI ​​race

How Apple Siri, Amazon Alexa and Google Assistant lost the AI ​​race

20.03.2023
Android 14 could finally separate ringtone and notification volumes – Android Police

Android 14 could finally separate ringtone and notification volumes – Android Police

20.03.2023

For power users or aspiring power users, the command line is an essential tool. It allows you to interact directly with your computer’s operating system, without being hindered by the constraints of a graphical interface. On your Mac, you access the command line through Terminal. For those of you unfamiliar with this powerful tool, let me give you an introduction. Those who are already somewhat familiar can also get a good refresher.

What is Terminal on macOS?

Beneath the gorgeous graphical interface of macOS, you will find a variant of Unix. More precisely, it is based on BSD. Before color graphics, icons, and pointing devices, the command line was all we had. To date, you’ll find some of the most powerful command-line utilities for your Mac in Terminal.

As you begin your journey to learn Terminal, a word of caution. I won’t say “Here come dragons”, but powerful commands here should be treated with respect and executed with care. You could accidentally delete important files, force quit essential services, or shut down your Mac unexpectedly.

How to Access and Use Terminal on Your Mac

That said, getting to the Terminal is easy. There are several ways to find it. Maybe the fastest is throwing Projector by pressing Command spacewhile typing Terminal and squeeze Feedback. Alternatively, you can click Applications > Utilities > Terminal.

In Terminal, you can issue a lot of commands to navigate your file system, run programs, and more. There’s even a command that lets you download files from the web using Terminal.

By default, Terminal will open a window with black text on a white background. If it’s too jarring for your eyes, well that’s easy to fix. Click Shell in the menu bar, New window then the profile you prefer.

When you want to run a command in Terminal, just type it in and press Feedback. Almost every order will include three basic items:

  • The command itself.
  • An argument that tells the command what and where it should work.
  • A modifier option that affects the output of the command.

The argument and modifier are often optional, but let’s look at an example. Suppose you want to list the files in your Documents folder. You will use the ls command to do it, like this:

ls ~/Documents
A basic command to list files in a directory.

And there you have it, a simple list of files in your Documents folder. Now, what if you want more information about this list, such as file sizes? This is where the edit options come in.

ls -la ~/Documents
The same command, but with a modifier to provide more detail.

In this case, the -there modifier says to list all files (A) in long form (I), which gives more details about each file.

Commonly Used Terminal Commands

In the Terminal, there are a few commands that will be your bread and butter. These are:

  • CD: Allows you to move from one directory to another.
  • PC: Used to copy files.
  • rm: Used to delete files.
  • mv: Used to move files.
  • find: think of this as Spotlight for the command line, but much more popular. It supports the use of regular expressions (regex) in your searches.
  • of: disk usage, a command to tell you how much of your Mac’s disk is in use.
  • sudo: the so-called “god” command, used to give the following command administrator rights.

The best way to learn Terminal is to do it, but first you need to get familiar with these basic commands. Each has its own manual, which you can find by typing male . SO, man find will tell you everything you need to know about find order.

Tricks of the trade for the command line

Keep in mind that your mouse might not seem useful to you in Terminal. That doesn’t mean you can’t drag, drop, copy, or paste into or from Terminal. You certainly can. In fact, let’s say you want to move to a directory deep within your filesystem.

To drag and drop file or directory names in Terminal, just follow this walkthrough.

  1. Using Searcherpoint and click to navigate to the directory or file you want to work with.
  2. Click in Terminal, and start typing the command you want to use on that file or folder. For example, let’s say I want to move to the Documents directory on my iCloud Drive. I’ll start typing CD (including space).
  3. Then click on the folder in Searcher and start dragging it.
  4. Drag the folder into Terminal and release your mouse button.
  5. The full path to this folder falls into Terminal, at the end of my CD order.
  6. Press Feedbackand you will go to this directory.

You can also copy and paste other apps directly into Terminal, if needed. Want to run another app from Terminal? You can do that too. Suppose you want to run the macOS TextEdit application.

  • Type open -a TextEdit.app.
  • Press Feedback.

This can be very useful if you want to develop automations or scripts in Terminal.

Learn more about using Terminal on your Mac.

There’s a lot more you can do in Terminal than I could cover here (without risking putting you to sleep). You should explore the various man pages for Terminal commands.

You will also benefit from the Apple section in the macOS user manual on Terminal. Be sure to bookmark it, as it is full of useful information. Also check back here as we continue to develop our tutorials on using Terminal on macOS.



Related

Previous Post

Home and away: Pregnant Sam Frost reveals her surprising new career move

Next Post

Backdoor in Dingo Cryptocurrency Allows Creator to Steal (Almost… – Dark Reading

Related Posts

How Apple Siri, Amazon Alexa and Google Assistant lost the AI ​​race
Technology

How Apple Siri, Amazon Alexa and Google Assistant lost the AI ​​race

20.03.2023
0

Apple's Siri is a virtual assistant built into Apple's iOS, iPadOS, watchOS, macOS, tvOS and audioOS operating systems. It allegedly...

Read more
Android 14 could finally separate ringtone and notification volumes – Android Police

Android 14 could finally separate ringtone and notification volumes – Android Police

20.03.2023

Calls for introducing happiness classes in schools grow as new curriculum proves to have significant impact

20.03.2023

Samsung Malaysia plans to expand its 8K ecosystem with… – TechNave

20.03.2023

Huawei circumvents US sanctions by redesigning 13,000 … – PhoneWorld Magazine

20.03.2023

Sony Not Happy With Starfield Xbox Exclusive – GameRant

20.03.2023
Load More
Next Post
Backdoor in Dingo Cryptocurrency Allows Creator to Steal (Almost… – Dark Reading

Backdoor in Dingo Cryptocurrency Allows Creator to Steal (Almost... - Dark Reading

Recent Posts

  • The Simpsons: 14 of the show’s most disturbing predictions – The Independent
  • Scientists Discover Intense Heat Waves at the Bottom of the Ocean – ScienceAlert
  • 2023 Global Debt Financing Market Research Report with… – GlobeNewswire
  • How Apple Siri, Amazon Alexa and Google Assistant lost the AI ​​race
  • Taylor Swift Fan Danica Patrick’s Fangirl Moment Delights Other ‘Swifties’

Archives

  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • 0
  • EN

© 2020

No Result
View All Result
  • World
  • Economics
  • Sport
    • Basketball
    • Football
    • Nfl
    • Golf
    • F1
    • UFC
  • Technology
  • Culture
    • Arts
  • Media
    • Film
    • Celebs
    • TV
  • LifeStyle
    • Auto
  • Travel

© 2020

This website uses cookies. By continuing to use this website you are giving consent to cookies being used. Visit our Privacy and Cookie Policy.