Update README.md

This commit is contained in:
Claudiu Chelaru 2016-02-03 20:29:04 +01:00
parent 2a191dfad3
commit e96256a390

View File

@ -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