Mailinglist Archive: opensuse (4633 mails)

< Previous Next >
[opensuse] error with the Find command
  • From: "Anil Kalasa" <anilkalasa@xxxxxxxxx>
  • Date: Mon, 22 Jan 2007 12:09:36 +0000
  • Message-id: <6104d99a0701220409x4553354ew516889143f1bfba2@xxxxxxxxxxxxxx>
Hi have an Linux SUSE 10.x installed in my system on AMD 64,

Hi,

I am facing problem with find command,

When I enter find / -name test.sh -print or only find from root
command it throws an error as

# find / -name test.sh -print
find: /etc: No such file or directory
find: /proc: No such file or directory
find: /sys: No such file or directory
find: /dev: No such file or directory
find: /var: No such file or directory
find: /usr: No such file or directory
find: /opt: No such file or directory
find: /bin: No such file or directory
find: /boot: No such file or directory
find: /home: No such file or directory
find: /lib: No such file or directory
find: /lib64: No such file or directory
find: /media: No such file or directory
find: /mnt: No such file or directory
find: /root: No such file or directory
find: /sbin: No such file or directory
find: /srv: No such file or directory
find: /tmp: No such file or directory


But the same works when I specify the full path as

Find /root/ (or /usr/) -name test.sh -print

Any help would be appreciated on this.


and one more example


:~ # find / -type f -name "test" -print
find: /etc: No such file or directory
find: /proc: No such file or directory
find: /sys: No such file or directory
find: /dev: No such file or directory
find: /var: No such file or directory
find: /usr: No such file or directory
find: /opt: No such file or directory
find: /bin: No such file or directory
find: /boot: No such file or directory
find: /home: No such file or directory
find: /lib: No such file or directory
find: /lib64: No such file or directory
find: /media: No such file or directory
find: /mnt: No such file or directory
find: /root: No such file or directory
find: /sbin: No such file or directory
find: /srv: No such file or directory
find: /tmp: No such file or directory
find: /Source: No such file or directory
find: /mysql-data: No such file or directory
find: /mysql-logs: No such file or directory
:~ #

regards
Anil
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups