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. [...]
Tags: batch, checksum, double, duplicate, files, find, linux, md5, md5sum, script, shell, unix
Nov
15
2008
Having loads of apps to compile, I worked on improving times. I wasn’t getting the best performances out of my Linux Redhat, so I turned off the cpuspeed service. I don’t know what’s up with cpuspeed, but it doesn’t release the full cpu capabilities. Then I took benefits of the server’s 4 processors running "make [...]
Tags: compile, CPU, cpuspeed, improve, linux, make, performance, speed up, time, unix
Aug
29
2008
A lot of networks use LDAP or NIS to authenticate users on servers. There is no policy control by default and access is granted to all users in the central database. Access can be restricted to some of the accounts adding them into the default passwd file if the compat mode is set. This works [...]
Tags: access, Aix, Authentication, grant, ldap, linux, login, NIS, restrict, restriction, solaris, unix, users