Update README.md
This commit is contained in:
parent
2a191dfad3
commit
e96256a390
20
README.md
20
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
|
||||
|
Loading…
Reference in New Issue
Block a user