1.

Solve : touch and diff problems?

Answer»

My name is Josh and I'm a student worker at Western Illinois University. I was GIVEN an assignment to assist someone with UNIX problems. I have no UNIX experience, but I'm resourceful. He is having issues with the commands, TOUCH and diff. He says he's used them previously, but they aren't working anymore. He says that he is using them to install software in the computers in ONE of our labs. Is there any information that you could share, or simply POINT me in the right direction?Well, 'touch' changes the access and modification times of a file, and 'diff' compares files line by line to FIND any differences between the two.
You didn't mention any error messages, so it is hard to diagnose what is happening. The first things to check would be the file permissions on the programs, which should be in either the /bin or /usr/bin directories, and make sure the execute permission is set. Then see how the programs are being called - if the user you are working with is just using the program names 'touch' and 'diff', try using the full path to make sure it's not a problem with the environment.



Discussion

No Comment Found