Find the answer to your Linux question:
Results 1 to 3 of 3
What is the path to date? I can't remember and can't find it anywhere with google or with the search here....
  1. #1
    Just Joined! dwhs's Avatar
    Join Date
    Sep 2005
    Posts
    19

    Anyone know the path to DATE

    What is the path to date?

    I can't remember and can't find it anywhere with google or with the search here.

  2. #2
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,099
    Well, it is /bin/date but for similar cases you could do
    Code:
    which date
    Or, if you know the package, which the command belongs to:
    Code:
    rpm -qil coreutils|grep bin
    This also works:
    Code:
    locate date|grep bin
    Or if all else fails:
    Code:
    find / -type f -name "date"
    You must always face the curtain with a bow.

  3. #3
    Just Joined! dwhs's Avatar
    Join Date
    Sep 2005
    Posts
    19
    which date

    worked perfectly, the path is:

    /bin/date

Posting Permissions

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