Windows Linux Tips: Find files


twitter tips,twitter tricks,twitter tips and tricks,twitter latest updates,facebook tips and tricks,facebook tricks,facebook tips,Windows 7 Tips,Windows 7 tips and tricks,Windows 7 tips with staps,Windows XP Tips,Windows XP tips and tricks,Windows XP tips with staps,Windows Linux Tips,Windows Linux Tips and tricks

Find is a very useful and powerful utility. It is often used by system administration and in shell scripts. Here
are 2 commands that might be useful:find / -perm -4000 -print.This command will find every file on the system that is suid. This means that when you run it you will be running it as an other user. For example, traceroute is a utility that needs to be run as root. 

To allow users to run it, systems administrators will set it suid root so it will be run as root even if a user starts it. 

This can be useful, but can also be a big security risk if the utility has a security hole in it.Here is another interesting command: find / -atime +10 -print.

This command will find all the files accessed more than 10 days ago. Commands like this one can be useful
to find old files that need to be backuped or erased.



"Windows Linux Tips: Find files"


Reference : techpraveen.com