Results 1 to 3 of 3

Thread: comparing two files in different directories in terminal

  1. #1
    Join Date
    Jan 2012
    Beans
    14

    comparing two files in different directories in terminal

    Hey,

    I'm writing a tcsh shell, but am fairly new to Linux. Is it possible to cmp two files in different directories? And if not, how would I go about doing this?

    Thanks

  2. #2
    Join Date
    Dec 2013
    Location
    Michigan, US
    Beans
    50
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: comparing two files in different directories in terminal

    Code:
    diff file1 ../otherdir/file2

  3. #3
    Join Date
    Jan 2012
    Beans
    14

    Re: comparing two files in different directories in terminal

    haha oh man, I should have been able to figure that out. Thanks, for the help!

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •