Cli
Deprecated linux commands
What are deprecated?
ifconfignetstatsroute
What are the better options?
ipsslsof -iTCP
Basic usages
Command ip
Show / manipulate routing, network devices, interfaces and tunnels
- Show ip adresses:
ip addressorip a - Show network devices:
ip linkorip l - Show routing table entry:
ip routeor …
Get started with sed
What is sed?
sed is a “stream editor for filtering and transforming text”. Here is a very detailed tutorial.
Basic usages
Use “s” for substitution
Basic syntax:
echo "Sunday Monday" | sed 's/day/night/'
Sunnight Monday
Note that only the first occurrence of …