English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

saying "No such file or directory". These useless stuff are actually scrolling the display too fast the real search results are not visible. Apart from having root access in the first place, as an ordinary user, how to make the find command stop the empty junk that it displays as "No such file or directory"? I have already checked the man pages.

2006-09-06 21:48:19 · 1 answers · asked by Anonymous in Computers & Internet Other - Computers

1 answers

A better alternative is the locate command. As root, first do an "updatedb". This will create or update the database. Then do a "locate 'what you are looking for'".

It will search the premade database, so its much faster than a find, especially if you setup a cron job to run updatedb every night or so, then you don't have to do the updatedb, and it stays up to date.

2006-09-06 21:57:07 · answer #1 · answered by Bryan A 5 · 0 0

fedest.com, questions and answers