Check if a file is really a file, whether a string contains anything, and whether you can run a program with these vital patterns.
One of the most universal experiences of any Linux or Unix user is working through a guide or handbook and coming across an almost unbelievably complex line of code meant to be executed with a shell.