C3Fire

Installation System Help Mac

From C3LearningLabs


Mac OS

Open Terminal Window

Menu structure

  1. Click the Spotlight icon. It’s the magnifying glass at the top right corner of the screen.
  2. Type terminal into the search box. “Terminal” will appear in the search results.
  3. Double-click Terminal. The Terminal application will now launch to the command prompt.


Keyboard shortcut

  1. Press CMD + Space to open spotlight search, and type terminal and hit return.
  2. Or if you are in the terminal press CMD + T to open a new tab


Userinterface

  1. Press on the launchpad icon
    Launchpad
  2. Press on the terminal icon
    Terminal


Open more than one terminal

  1. Select an open terminal
  2. press CMD + N, or select in the menu.

    Terminal




Get IP number

To get a computers IP number open Network window: Launchpad -> System Preferences -> Network

It will open the following window.

Network Info

The IP number are the IPv4 Address


Terminal command

In a terminal enter:

ifconfig

It will give information as:

rego@Snorken:~$ ifconfig
enp2s0    Link encap:Ethernet  HWaddr xx:xx:x:xx:xx:xx  
          inet addr:192.168.1.52  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: 1234::95sd:e84f:5352:f550/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:726552 errors:0 dropped:1 overruns:0 frame:0
          TX packets:309495 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1026508788 (1.0 GB)  TX bytes:23370486 (23.3 MB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:2475 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2475 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1 
          RX bytes:415660 (415.6 KB)  TX bytes:415660 (415.6 KB)

It will return a row containing some thing like inet addr:192.168.1.52
Then the IP number are: 192.168.1.52