find only works from /root ???

Walter Dnes waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org
Wed Oct 11 05:40:50 UTC 2006


  I have PS1 (the prompt) set to [machine][user][cwd]

  I try to find all pdf files in my account...

[m3000][waltdnes][~] find /home/waltdnes/ -iname *.pdf
find: paths must precede expression
Usage: find [-H] [-L] [-P] [path...] [expression]

  Alright, let's try it as root from my regular user directory...

[m3000][root][/home/waltdnes] find /home/waltdnes -iname *.pdf
find: paths must precede expression
Usage: find [-H] [-L] [-P] [path...] [expression]

  Now from /root...

[m3000][root][/home/waltdnes] cd
[m3000][root][~] find /home/waltdnes -iname *.pdf
/home/waltdnes/zz/sandvine.pdf
/home/waltdnes/zz/google.pdf
blah, blah, blah, bunch of files listed...

  What am I doing wrong?  Same syntax, different results!?!?

-- 
Walter Dnes <waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org> In linux /sbin/init is Job #1
My musings on technology and security at http://techsec.blog.ca
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list