How to Use Mac Terminal, and How to Use Key Functions
638 Views, 1 Favorites, 0 Comments
How to Use Mac Terminal, and How to Use Key Functions
![Cover photo.png](/proxy/?url=https://content.instructables.com/F6T/EF3T/JSL38NMG/F6TEF3TJSL38NMG.png&filename=Cover photo.png)
We will be showing you how to open the MAC Terminal. We will also be showing you a few features within the Terminal, such as ifconfig, changing directories, accessing files, and arp. Ifconfig will allow you to check your IP address, and your MAC address. This is useful for setting up a new device on a network. Changing directories inside the Terminal can be useful as a more effective way to find document, and folders inside of your computer instead of searching through all of your folders.
Accessing the Terminal
![step 3_LI.jpg](/proxy/?url=https://content.instructables.com/FSU/AYAT/JSL38LDF/FSUAYATJSL38LDF.jpg&filename=step 3_LI.jpg)
1) Press command + space bar
2) Type Terminal
3) Press Enter
Using the Ifconfig Command to Gather Network Info Such As IP Address or MAC Address
![step 4_LI.jpg](/proxy/?url=https://content.instructables.com/F3R/0VHE/JSL38LE6/F3R0VHEJSL38LE6.jpg&filename=step 4_LI.jpg)
![step 5_LI.jpg](/proxy/?url=https://content.instructables.com/FP8/XV9V/JSL38LEF/FP8XV9VJSL38LEF.jpg&filename=step 5_LI.jpg)
![step 6_LI.jpg](/proxy/?url=https://content.instructables.com/F8D/VHPI/JSL38LEO/F8DVHPIJSL38LEO.jpg&filename=step 6_LI.jpg)
1) Type "Ifconfig" into the Terminal then press enter
3) Your IP Address will be shown at inet (As highlighted in the second picture)
4) Your Mac Address will be shown at ether (As highlighted in the third picture)
Using the Cd Command to Navigate Through Your Directories Ex: Downloads, Desktop, Pictures
![step 9_LI.jpg](/proxy/?url=https://content.instructables.com/F94/LJOR/JSL38LFH/F94LJORJSL38LFH.jpg&filename=step 9_LI.jpg)
![step 8_LI.jpg](/proxy/?url=https://content.instructables.com/FM5/KQIJ/JSL38LEX/FM5KQIJJSL38LEX.jpg&filename=step 8_LI.jpg)
![step 9 (1)_LI.jpg](/proxy/?url=https://content.instructables.com/F0M/KL49/JSL38LF6/F0MKL49JSL38LF6.jpg&filename=step 9 (1)_LI.jpg)
1) Type "clear" then press enter to move all information up and off the screen before the next step, it allows you to take the clutter away of unwanted information
2) Type "cd ~/downloads" then press enter and this will move you to your download’s directory
4) Type "ls" into the Terminal then press enter in order to display the files located within that directory(Downloads)
(HINT: Make sure you use an L and not an i)
4) you may also use "cd .." to navigate back to the top directory to be able to move into another
Using the Arp Command to Show a Table of Devices With Their Corresponding IP and MAC Address
![step 12_LI.jpg](/proxy/?url=https://content.instructables.com/FH6/DI08/JSL38LFQ/FH6DI08JSL38LFQ.jpg&filename=step 12_LI.jpg)
1) Type "clear" then press enter to move all information up and off the screen to start fresh
2) Type "arp -a" then press enter this will show you devices connected to your network and their corresponding IP and MAC addresses
(HINT: Make sure you put a space in between arp and -a)