Month July 2011

bash diff alternative

How to setup a bash diff alternative nano -w /usr/bin/diff2 Copy and paste the below in to /usr/bin/diff2 #!/bin/bash # # name: diff2.sh # usage: . file1 file2 # To make available to whole system copy to /usr/local/bin # and…

best diff tools

PAYWARE Ultra Edit (win + linux) – Beyond Compare (win + linux) – Araxis Merge (win + osX) – ExamDiff Pro (win) – ECMerge (win, osX, linux) – MergePlant (win) – Changes (OSX) …

grep ifconfig list ips

Linux ifconfig Example Type the following command: ifconfig | grep ‘inet addr:’| grep -v ‘127.0.0.1’ | cut -d: -f2 | awk ‘{ print $1}’ FreeBSD/OpenBSD ifconfig Example Type the following command: ifconfig | grep -E ‘inet.[0-9]’ | grep -v ‘127.0.0.1’…