Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

system_profiler command not found #12

Open
hotwilson opened this issue Apr 10, 2018 · 1 comment
Open

system_profiler command not found #12

hotwilson opened this issue Apr 10, 2018 · 1 comment

Comments

@hotwilson
Copy link

hotwilson commented Apr 10, 2018

After I install using brew and run lsusb I'm seeing:
/usr/local/bin/lsusb: line 7: system_profiler: command not found
The system_profiler command by itself does not work. But this does work:
/usr/sbin/system_profiler

My machine:

sw_vers ::
ProductName: Mac OS X
ProductVersion: 10.13.3
BuildVersion: 17D102

uname -a ::
Darwin Wilsons-MacBook-Pro.local 17.4.0 Darwin Kernel Version 17.4.0: Sun Dec 17 09:19:54 PST 2017; root:xnu-4570.41.2~1/RELEASE_X86_64 x86_64

@johnfreed
Copy link
Collaborator

"Command not found" is normally an error message related to an incorrect PATH environment variable. This is reinforced by the fact that if you spell out the entire path to the command, it works.

I suppose you could change line 7 to spell out the path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants