Tagged: mac

0

A telnet to a server

telnet <ip-address> <port-number> telnet <name-of-the-server> <port-number> Most of the time people check connectivity via ping <ip-address> But ping command listens on other ports than you expect. Hence, you might get response back from server...

0

Find hostname in mac

Run the following command in your terminal. echo $HOSTNAME It is the simplest way to find the hostname in MAC from your terminal.

X11 install directory on a mac 0

X11 install directory on a mac

If you are running applications like Inkscape, you are probably required to install X11. And to run it, you need to specify the directory where X11 got installed. After you install X11, you can...

How to create a soft link in linux 0

How to create a soft link in linux

A soft link is filename that is just a ‘reference’ to another file or directory. Here’s how you’d create one. ln -s path/to path/from

Display contents of a directory as a tree on mac osx 0

Display contents of a directory as a tree on mac osx

Run this command from your mac terminal to display your directory structure as an ascii tree. tree -I If you need to ignore a directory, just mention it in single quotes. tree -I ‘node_modules’