Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: touch and diff problems  (Read 3781 times)

0 Members and 1 Guest are viewing this topic.

JoshD

  • Guest
touch and diff problems
« on: February 11, 2009, 11:03:43 AM »
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?

anthonyf



    Starter

    Re: touch and diff problems
    « Reply #1 on: March 03, 2009, 12:53:58 PM »
    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.