Finding files in Linux

From Useful Data
Jump to navigation Jump to search

Your best bet is don't lose them. The command lines vary with every distro and every version of every distro. The graphical utilities often don't work. The add-ins to the file managers don't work or crash the file manager.

There is locate and there is whereis.

sudo updatedb will update the database of file locations that locate uses. Then use locate filenamepart to locate your file. But, it doesn't take wildcards.

whereis is just a mystery to me.