- Intercept live TCP traffic using tcpdump.
# Record 1 minute of port 80 traffic from eth0 NIC
sudo timeout 1m tcpdump -i eth0 'port 80' -w 1minute_traffic.pcap
| #!/bin/bash | |
| set -ex | |
| # thx to http://apple.stackexchange.com/a/233788 | |
| # Create bootable El Capitan ISO | |
| # Mount the installer image | |
| hdiutil attach "/Applications/Install OS X El Capitan.app/Contents/SharedSupport/InstallESD.dmg" -noverify -nobrowse -mountpoint /Volumes/esd |