课程: Linux CentOS 7: Desktops and Remote Access (2016)
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Access the Linux CLI from macOS and Linux - Linux教程
课程: Linux CentOS 7: Desktops and Remote Access (2016)
Access the Linux CLI from macOS and Linux
- [Instructor] Because Mac OS 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 Mac OS or Linux is nearly identical, so we'll cover them together. On Mac OS, 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.