How to Use Mac Terminal, and How to Use Key Functions

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.

Step 1: Accessing the Terminal

1) Press command + space bar

2) Type Terminal

3) Press Enter

Step 2: Using the Ifconfig Command to Gather Network Info Such As IP Address or MAC Address

1) Type "Ifconfig" into the Terminal

2) Your IP Address will be shown at inet (As Highlighted)

3) Your Mac Address will be shown at ether (As Highlighted)

Step 3: Using the Cd Command to Navigate Through Your Directories Ex: Downloads, Desktop, Pictures

1) Type "clear" 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". This will move you to your download’s directory

3) Type "ls" into the Terminal in order to display the files located within that directory(Downloads)

4) you may also use "cd .." to navigate back to the top directory to be able to move into another

Step 4: Using the Arp Command to Show a Table of Devices With Their Corresponding IP and MAC Address

1) Type "clear" again to move all information up and off the screen to start fresh

2) Type "arp -a" this will show you devices connected to your network and their corresponding IP and MAC addresses

Share

    Recommendations

    • Organization Contest

      Organization Contest
    • Weaving Challenge

      Weaving Challenge
    • Paper Contest

      Paper Contest

    Discussions