>I am working on the lab1 HW . >In my lsfiles script I am using "find / -name filename" command >in order to search the system. As I do not have a permission >to search the whole filesystem, I am getting error messages >"Permission denied". Should I use some other command to search >the system, or just search my home directory? Can I assume that >I am given a full path to the file and simply use "ls" to >verify the file's existence on the system? > >Thank you for your help. I meant the latter -- sorry, that's bad wording on my part. You don't need "find", just "test". If the words "f1" and "/mahogany/homes/plank" appear in the file, and ./f1 and /mahogany/homes/plank both exist, then it should print both words. In general with questions like this, you should check with my working program and see what it does. If yours does what mine does, then it should be ok. Jim Plank