Skip to content

Instantly share code, notes, and snippets.

View lamr14's full-sized avatar
🏠
Working from home

Luis Meza lamr14

🏠
Working from home
View GitHub Profile
@dmitrykuzmenkov
dmitrykuzmenkov / ARP table.sh
Created April 28, 2015 13:32
Linux network tricks
# Get arp table cache
arp -n
# Clean arp cache verbose
ip -s -s neigh flush all
# Delete special ip from arp cache
arp -d 192.168.1.1
# Add static route to arp cache
@candu
candu / lipsum
Created November 7, 2014 18:13
Command-line Lorem Ipsum generator using curl, lipsum.com, and jq
#!/bin/sh
AMOUNT=5
WHAT=paras
START=false
while getopts ":n:wpbls" opt; do
case $opt in
n)
AMOUNT=$OPTARG