Tips

From Linuxintro
Revision as of 13:46, 19 June 2010 by imported>ThorstenStaerk

renaming several files

Rename several files using the command

rename 's/BEFORE/AFTER/g' *

favorite Linux-Tools

history|awk '{print $2}'|awk 'BEGIN {FS="|"} {print $1}'|sort|uniq -c|sort -rn|head -10

find out which files are accessed by a program

To find out which files are accessed by a program start it with

strace -e open program