Linux
Read More
Compare a remote file with a local file using ssh and diff
# ssh user@example.com cat /path/to/remotefile | diff /path/to/localfile –
A chronological documentation test project, nothing serious, really!
# ssh user@example.com cat /path/to/remotefile | diff /path/to/localfile –
This is a tutorial to detect changes in port from hosts on your network. The basic approach is to ping every available address upon your subnet and see which ones are up by detecting replies. If you install the package libperl-net-ping you can use the following script to see which hosts upon your LAN are […]
diff -y index.php index2.php