Prev | Current Page 1239 | Next

Michael McCallister

"openSUSE Linux Unleashed"

For example, to display all files over
990kB in size, try the command:
find / -size +990k -print
The plus sign indicates you??™re looking for values larger than the one specified. Without it,
find will only show files matching the value.
The find command is a good tool, but it can be startlingly slow. It must manually search
through all of the directories in the path you specify. That??™s where locate comes in.
The locate command is just a wonderful tool, one that speeds the process immensely.
This program uses a database that indexes your directory. The key to succeeding with
locate is to update this database regularly.
NOTE
locate is the only command in this listing not installed by default in openSUSE Linux.
You can install the findutils-locate package in YaST, however. When you install it,
openSUSE Linux will automatically update the index database nightly. If you want to
manually update the database during the day, just run the updatedb command
included in the package.
All you have to do then is run this command:
locate
You will quickly get a list of every directory that file appears in.


Pages:
1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251
felgi aluminiowe poznań życzenia urodzinowe Jaki wybrać olej Connie Talbot dieta light