From the course: Linux: Desktops and Remote Access
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Accessing the Linux CLI from macOS or Linux - Linux Tutorial
From the course: Linux: Desktops and Remote Access
Accessing the Linux CLI from macOS or Linux
- Because macOS and Linux are both Unix-like operating systems, they have terminals and SSH capability built into them. The way in which we access a Linux host from macOS or Linux is nearly identical so we'll cover them together. On macOS we'll launch a terminal by going to the search icon and typing in terminal and hitting enter. I'm going to resize my terminal to full screen and increase the font. The syntax for logging in is going to be SSH followed by the IP address, which you would get from the ifconfig command on Linux. My IP address is 172.28.29.15 on this machine. Type in your password, and you should be logged in. To log out, you'll just type in exit and hit enter and then close the terminal window.