Jan
22
2009
To add a permanent static route in AIX, add the route command in the startup file /etc/rc.net:
AIX Server.root / # route add -net 192.168.2.0 -netmask 255.255.255.0 192.168.0.1
or use AIX interface Smitty (preferred):
AIX Server.root / # smitty
-> Communications applications and Services
-> TCIP/IP
-> Further Configuration
-> Static Routes
-> Add a Static Route
And type in the new static route [...]
Tags: 4.3, add, Aix, permanent, route, smitty, static, unix
Jan
21
2009
This shell script finds duplicate files in a given directory comparing their (md5) checksum. This means the content is checked and is strictly identical, rather than the filename or date of creation.
This is usually useful to delete large files. ‘Find’ command option -size can help speeding up and finding the largest duplicate files.
admin@fileserver$
find /usr/bin -type [...]
Tags: batch, checksum, double, duplicate, files, find, linux, md5, md5sum, script, shell, unix