0

Ok, so my terminal was working fine yesterday, but all of a sudden, it decided that no file or directory exists anymore. This is what happens:

seabass@seabass:~$ find /home/seabass/Documents hello

/home/seabass/Documents

/home/seabass/Documents/test

/home/seabass/Documents/test/hello

find: `hello': No such file or directory

and:

seabass@seabass:~$ find /home/seabass/Documents test

/home/seabass/Documents

/home/seabass/Documents/test

/home/seabass/Documents/test/hello

find: `test': No such file or directory
  • Did you read the man page? – psusi May 29 '13 at 18:35
1

Is not working because you are doing in the wrong way. Try:

find /home/seabass/Documents/hello

respective:

find /home/seabass/Documents/test

Or:

find /home/seabass/Documents -name hello

respective:

find /home/seabass/Documents -name test

See man find and find --help for more informations.

  • oh, thanks, i thought i might just be not doing it right – Seabass May 29 '13 at 19:53
0

Try the -name parameter. It thinks you want it to search for files inside hello or test, but I'm guessing that's not what you want.

find /home/seabass/Documents -name hello

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.