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
1
  • Did you read the man page?
    – psusi
    May 29, 2013 at 18:35

2 Answers 2

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.

1
  • oh, thanks, i thought i might just be not doing it right
    – Seabass
    May 29, 2013 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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .