December 2018
Beginner
452 pages
12h 17m
English
On the man page for locate, the description could not be more fitting: locate - find files by name. The locate command is installed by default on your Ubuntu machine and the basic functionality is as simple as using locate <filename>. Let's see how this works:
reader@ubuntu:~$ locate fstab/etc/fstab/lib/systemd/system-generators/systemd-fstab-generator/sbin/fstab-decode/usr/share/doc/mount/examples/fstab/usr/share/doc/mount/examples/mount.fstab/usr/share/doc/util-linux/examples/fstab/usr/share/doc/util-linux/examples/fstab.example2/usr/share/man/man5/fstab.5.gz/usr/share/man/man8/fstab-decode.8.gz/usr/share/man/man8/systemd-fstab-generator.8.gz/usr/share/vim/vim80/syntax/fstab.vimreader@ubuntu:~$
In the preceding example, we looked ...