To use the shell in order to try the rows
The advent of the graphical interfaces (gnome, kde…) it has sure reduced the use of the shell, the interface for excellence ancorchè to commando line. However, to my opinion, nothing is comparable to bash for power and the flexibility, for which when they are attempted these characteristics ricorrervi he is natural. If, as an example, we must try of the rows we can be taken advantage of the instruments integrated in gnome or kde (tracker, strigi…) or to use the commando locate, which is exactly preplace to the search of rows generic on the filesystem. The advantage of this commando respect to other more or less deputies to the same tasks is the speed, it in fact integrally carries out its search on a little one database and not scansionando the disc; it is clear but that it will find only the present rows in the database, and, even if this last one generally comes dawned (from cron) once a day (with the commando updatedb) this can be a limit. However here the sintassi
:
- updatedb (without arguments it will read from \ for all the structure of the filesystem and will make the update ones of the database that in a distro debian, as an example, it is in /var/cache/locate/locatedb);
- locate locate - m (in this case it will try all locate rows of the handbook with in the name *).
The options are - b, - m, - s and serve in order to shrink the searches to railroads, handbook pages or sources.
(more…)




















