Tagged: Apple

Get telnet and ftp client back on macOS High Sierra

Apple, in their ultimate wisdom, have removed telnet and ftp client on macOS High Sierra.

It is true. You should not use these commands anymore to do unencrypted management on switches.

But …

For a network administrator these are extremely important to do debugging and troubleshooting.

Get your telnet back:

First, install Xcode from the App Store.

Then open a terminal and get inetutils from the GNU site:

curl http://ftp.gnu.org/gnu/inetutils/inetutils-1.9.4.tar.gz -o inetutils-1.9.4.tar.gz

Then compile it yourself:

tar xvzf inetutils-1.9.4.tar.gz
cd inetutils-1.9.4
sudo make install

the clients are now in /usr/local/bin.

Delete Applications on a Mac

On a Mac, you basically pull your application, you do not want anymore, into your trash bin. That’s it. But there are always some config files in the ~/Library directory.

To get rid of everything open a terminal and use

mdfind -name "application name"

This gives a list with all files related to the application.

Now delete all the files form the list you got.

sudo rm -rf <line>


Keyboard shortcuts for your Mac at boot time

Keep one of these keys pressed at system start.

Command key
Control key
Option key
Shift Key
Caps Lock
fnFunction Key
CBoots from a CD/DVD with a system image
DBoots from the first HD partition
NBoots from the network (netboot)
REnforces a screen reset
TBoots in firewire target mode
Boots in safe mode. Disables login items and less important kernel files
⌘VBoots in verbose mode
⌘SBoots in single-user mode. Goes directly into command-line
 Displays possible startup disks

… and much more: http://support.apple.com/kb/HT1343

Start a TFTP server on your Mac

Activate the tftp server on your Mac:

To change the properties, edit the file


The default directory is /private/tftpboot.

Make this directory accessible for everybody.

chmod 777 /private/tftpboot

and start it with

sudo launchctl load -F /System/Library/LaunchDaemons/tftp.plist

If you want to stop the daemon, do

sudo launchctl unload /System/Library/LaunchDaemons/tftp.plist