Hi,

I ran the below commands on my RH 8 system and got a command not found
error.  The below is supposed to e-mail me a mail message containing all
world-writable files on my system

Can anyone give me suggestions or advice as to what I did wrong?

Thanks.

[EMAIL PROTECTED] etc]# find / ! -fstype proc -perm ! -type l -ls 2>&1 | \ Mail -s
1world writable` [EMAIL PROTECTED]
>
[EMAIL PROTECTED] etc]# find / ! -fstype proc -perm -2 ! -type l -ls 2>&1 | \
Mail -s 'world writable' [EMAIL PROTECTED]
-bash:  Mail: command not found
[EMAIL PROTECTED] etc]# find / ! -fstype proc -perm -2 ! -type l -ls 2>&1 | \
Mail -s `world writable` [EMAIL PROTECTED]
-bash: world: command not found
-bash:  Mail: command not found
[EMAIL PROTECTED] etc]# find / ! -fstype proc -perm -2 ! -type l -ls \ |& mail -s
`world writable` [EMAIL PROTECTED]
-bash: syntax error near unexpected token `&'
[EMAIL PROTECTED] etc]# find / ! -fstype proc -perm -2 ! -type l -ls \ |& mail -s
'world writable' [EMAIL PROTECTED]
-bash: syntax error near unexpected token `&'


-- 
Psyche-list mailing list
[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/psyche-list

Reply via email to