Command not found on world writeble list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

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


-- 
Psyche-list mailing list
Psyche-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux