Page 26 of the book says to use “file /Applications/Xcode.app/Contents/MacOS/Xcode”
but it returns a error:
error: unable to find executable for ‘/Applications/Xcode.app/Contents/MacOS/Xcode’
using "ps -ef pgrep -x Xcode " to find Xcode path returns error:
error: error: use of undeclared identifier ‘pgrep’
error: use of undeclared identifier ‘x’
Xcode 10.1 is installed and running. It is installed in the default location “Applications”
Here is screen shot from terminal:
QUOTE
Last login: Sun Nov 4 13:08:49 on ttys001
Williams-Mac-mini:~ williamlynn$ lldb
(lldb) ps -ef pgrep -x Xcode
error: error: use of undeclared identifier ‘pgrep’
error: use of undeclared identifier ‘x’