From e96256a3904e7d2287ede508b4d9edcc290fd058 Mon Sep 17 00:00:00 2001 From: Claudiu Chelaru Date: Wed, 3 Feb 2016 20:29:04 +0100 Subject: [PATCH] Update README.md --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index 25ea005..08e9766 100644 --- a/README.md +++ b/README.md @@ -55,8 +55,10 @@ For more terminal shell goodness, please also see this list's sister list [Aweso - [Bonjour](#bonjour) - [DHCP](#dhcp) - [DNS](#dns) + - [FTP](#ftp) - [Hostname](#hostname) - [Networking Tools](#networking-tools) + - [SSH](#ssh) - [TCP/IP](#tcpip) - [Wi-Fi](#wi-fi) - [Package Managers](#package-managers) @@ -872,6 +874,15 @@ sudo dscacheutil -flushcache && \ sudo killall -HUP mDNSResponder ``` +### FTP +```bash +# enable +sudo -s launchctl load -w /System/Library/LaunchDaemons/ftp.plist + +# disable +sudo -s launchctl unload -w /System/Library/LaunchDaemons/ftp.plist +``` + ### Hostname #### Set Computer Name/Host Name @@ -894,6 +905,15 @@ ping -o github.com traceroute github.com ``` +### SSH +```bash +# enable +sudo -s launchctl load -w /System/Library/LaunchDaemons/ssh.plist + +# disable +sudo -s launchctl unload -w /System/Library/LaunchDaemons/ssh.plist +``` + ### TCP/IP #### Show Application Using a Certain Port