Posts with the tag UNIX

Advanced Usage of ethtool

There exist a comparison of ethtool in linux with the equivalents in solaris command-by-command... It's great!

not available anymore... but here is an archived version:


Read on

strace - Watch File Access of any Executable

To trace files that a certain software opens, run:
strace -e trace=open -o my_progam.log my_program
# Or include access as well:
strace -e trace=open,access my_program
# Log a CDROM autorun:
strace -o out.txt -f ./cdrom/autorun
# Analyze log file for operations setting a SUID bit:
grep '...

Read on