Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Ruby interface to UNIX 'whereis' command.

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 .document
Octocat-spinner-32 .gitignore
Octocat-spinner-32 CHANGES.txt
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 LICENSE.txt
Octocat-spinner-32 Rakefile
Octocat-spinner-32 VERSION
Octocat-spinner-32 test
Octocat-spinner-32 unix-whereis.gemspec

Unix Whereis

Unix Whereis provides Ruby interface to UNIX whereis command. Some examples follow: (for details, see module documentation)

require "unix/whereis"

Whereis.file? :ls   
# will return ["/bin/ls", "/usr/share/man/man1/ls.1.gz", "/usr/share/man/man1/ls.1p.gz"]

Whereis.binary? :ls
# will return ["/bin/ls"]

Whereis.available? :ls
# will return true


  1. Fork it.
  2. Create a branch (git checkout -b 20101220-my-change).
  3. Commit your changes (git commit -am "Added something").
  4. Push to the branch (git push origin 20101220-my-change).
  5. Create an Issue with a link to your branch.
  6. Enjoy a refreshing Diet Coke and wait.


Copyright © 2011 Martin Kozák. See LICENSE.txt for further details.

Something went wrong with that request. Please try again.