10.06.08
Finding Files
You now know what each major directory holds, but it still doesn’t really help you find things. I mean, you could go looking through directories, but there are quicker ways. There are four main file search commands.
which
The first is the which(1) command. which is usually used to locate a program quickly. It just searches your PATH and returns the first instance it finds and the directory path to it. Take this example:
% which bash
/bin/bash
Read the rest of this entry »


