RE: [Nolug] Wireless

From: Chris Reames <chris_at_drugfreemro.com>
Date: Wed, 24 Nov 2004 10:26:43 -0600
Message-ID: <MHEMLJJHACJLNNFAGGPBGEEDCLAA.chris@drugfreemro.com>

Thanks Ray,
Muy Intresting.

> -----Original Message-----
> Delete all tmp*.html files:
> find . -name 'tmp*.html' -exec rm -rf {} \;
>
> Need to chown all files owned by uid 501 to ray
> find / -uid 501 -exec chown ray.ray {} \;
>
> Delete files that haven't changed in 14 days:
> find /tmp -mtime +14 -exec rm -rf {} \;

This one I've been wanting to do on the hylafax recvq directory.
Is there a way to run the command as SU without being SU first?

>
> Show me all files bigger than 50 megs (512-byte blocks):
> find . -size +100000 -ls
>
> Show me all the SUID root or SGID root files on my system
> find / \( -perm 4755 -o -perm 2755 \) -uid 0 -ls
>
> When a file has control characters in its filename and you can't delete
> it, and tab complete won't work, delete it by it's inode number. ls -li
> to get inode, then
> find . -inum 123456 -exec rm -rf {} \;
>
> ray
> --

___________________
Nolug mailing list
nolug@nolug.org
Received on 11/24/04

This archive was generated by hypermail 2.2.0 : 12/19/08 EST