1

I am trying to find the location of my grunt package, but when I run:

where grunt

I get the following error message:

No command 'where' found, did you mean:
Command 'gwhere' from package 'gwhere' (universe)
where: command not found

What is the correct command/syntax?

mickmackusa
  • 852
  • 1
  • 10
  • 20
suriyan
  • 131

3 Answers3

7

If you are searching for information about grunt.Run

whereis grunt

Or

whatis grunt

Or

which grunt
2

It is not where but which. So

which grunt

will tell you the location of the binary.

Rinzwind
  • 309,379
2

The command to locate the binary package is which and the command to locate the binary and manual packages is whereis. So which ls would give

/bin/ls

and whereis ls would give

ls: /bin/ls /usr/share/man/man1/ls.1.gz

where the first argument /bin/ls is the binary file and /usr/share/man/man1/ls.1.gz is the manual page.

jobin
  • 28,567