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)
|
- [Bonjour](#bonjour)
|
||||||
- [DHCP](#dhcp)
|
- [DHCP](#dhcp)
|
||||||
- [DNS](#dns)
|
- [DNS](#dns)
|
||||||
|
- [FTP](#ftp)
|
||||||
- [Hostname](#hostname)
|
- [Hostname](#hostname)
|
||||||
- [Networking Tools](#networking-tools)
|
- [Networking Tools](#networking-tools)
|
||||||
|
- [SSH](#ssh)
|
||||||
- [TCP/IP](#tcpip)
|
- [TCP/IP](#tcpip)
|
||||||
- [Wi-Fi](#wi-fi)
|
- [Wi-Fi](#wi-fi)
|
||||||
- [Package Managers](#package-managers)
|
- [Package Managers](#package-managers)
|
||||||
@ -872,6 +874,15 @@ sudo dscacheutil -flushcache && \
|
|||||||
sudo killall -HUP mDNSResponder
|
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
|
### Hostname
|
||||||
|
|
||||||
#### Set Computer Name/Host Name
|
#### Set Computer Name/Host Name
|
||||||
@ -894,6 +905,15 @@ ping -o github.com
|
|||||||
traceroute 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
|
### TCP/IP
|
||||||
|
|
||||||
#### Show Application Using a Certain Port
|
#### Show Application Using a Certain Port
|
||||||
|
Loading…
Reference in New Issue
Block a user