Learn to be a macOS Command Line Ninja
- 3 hours on-demand video
- Full lifetime access
- Access on mobile and TV
- Certificate of Completion
Get your team access to 4,000+ top Udemy courses anytime, anywhere.Try Udemy for Business
- Stop being afraid of the command line!
- How mastering the command line will benefit you
- Understand Terminal's interface
- Navigate the macOS file system from the command line
- Create, copy, move & delete files and directories
- Understand relative & absolute paths
- View and edit files in Terminal using cat & nano
- Basic pattern matching with wildcards
- Advanced pattern matching using "grep"
- Advanced workflow: streams, pipes & filtering
- Be comfortable with the Apple Mac desktop, including using Finder.
- Have access to any Apple Mac computer, or perhaps a Linux machine.
Does the Command Line Intimidate You?
Are you one of the millions of Mac users who are afraid of using the Terminal?
Are you a professional or student and you know you need to brush up your command line skills?
Do you just lack the background knowledge to get started?
Did you know that 95% of macOS command line skills also work on Linux?
It's true. So learning the macOS command line can accelerate your studies or career, giving you radically new skills you never imagined.
You don’t need any previous experience. If you’re comfortable using macOS desktop and basic tools such as Finder, or even if you’re new to Mac but familiar with other systems such as Linux or Windows, then you’re ready to take this course.
You'll start with the basics, and by the end you'll be able to perform some advanced tasks that would impress most professionals.
What You’ll Learn, in Detail
You’ll start with the very basics of what the Terminal actually is, how it relates to the rest of macOS, and the huge benefits of learning the command line.
From there you’ll see how to launch Terminal, how to understand the user interface, and how to run your first commands such as ls.
Then you’ll be introduced to the file system and you’ll learn how to navigate around using the command line using cd.
You'll be introduced to paths and learn the difference between relative and absolute paths
You’ll learn to work with files, creating, copying, moving and deleting files and directories.
You’ll learn how to view and edit files directly in Terminal using cat and nano. You'll also learn a little about vi and vim, and why they're not the best for a beginner.
You’ll learn the basics of pattern matching so you can work with wildcards and search tools such as grep, which will make your workflow much more efficient.
Finally you’ll learn about I/O streams and redirection, and very powerful tools such as pipes and command line filters so you can sort and reorganise files and other data.
- Computing, maths or or science students, and graduate or junior developers.
- Postgraduate students in computing, data science, or other sciences who want to do data processing, machine learning or use any software that requires command line knowledge.
- Any power user who needs to be able to use command line tools such as: git, ffmpeg, ssh, curl, ngrok, etc.
The introduction explains why many people are intimidated by the Terminal, and that it’s quite normal to feel afraid of using it. Many people have zero, or very few command line skills, and this can be a hindrance, especially in a professional or academic environment.
This lecture gives an overview of what the course will teach you. The main message is that it will give you confidence and take away the fear of exploring the Terminal.
This lecture explains why the command line is still useful in the 21st century. It discusses the macOS command line’s Unix roots and shows how it’s linked to Linux and to billions of devices worldwide, which makes knowing it a very valuable skill.
This lecture introduces three basic commands that everyone should know when they start out using the command line. It does not go into any depth on them, just demonstrates them briefly.
In this fundamental lecture you’ll learn about the macOS File System, including the root, directories and files, and you’ll see how to list files in Terminal and how what you do in Terminal relates to what you can see in Finder. You’ll also discover a little bit about what’s in the root directory of your macOS.
Another fundamental lecture that teaches you about the very important concept of a path. You’ll learn why it’s called a path, and how to create one on the command line. You’ll learn about the current working directory and relative paths, and you’ll see how to use one. You’ll learn how to send paths to Terminal commands.
This lecture gives some context about the problem of spaces in paths. It explains exactly why the problem exists, as well as two methods for fixing it, and for interested students it gives a little background on the history of the topic. After this lecture you’ll understand more about how the bash shell works under the hood.