vi and vim are two out of many text editors on Unix, this is my .vimrc. I put this here mostly so I can easily grab it.
Capture IP From PING
This is just a simple sed to capture IP address from ping. Note host must allow ICMP. This was tested on sh, bash and zsh. An example:
Sort Processes by Memory Usage
FreeBSD *Use zfs-stats to check how much is zfs using from your memory Linux
On RHEL/CentOS, yum history is not well-known but is a nice way to undo package installs, including dependencies, or updates. Usage is self-explanatory. I provided some examples below: If you really want you can undo […]