I typed x into bash, and some weird stuff happened.

If I do:

command -v x

I get this output:


looks like something to do with XCode, does anyone know how I could find more info? (There is 'No manual entry for x').


/opt/X11/bin/X (/opt/X11/bin/x) is a symbolic link to /opt/X11/bin/Xquartz.

The XQuartz project is an open-source effort to develop a version of the X.Org X Window System that runs on OS X. Together with supporting libraries and applications, it forms the X11.app that Apple shipped with OS X versions 10.5 through 10.7.

Visit the official site at https://www.xquartz.org

XQuartz supports running X11 apps in OS/X / MacOS, and from 10.8 onwards it is not installed by default anymore ; it has to be installed by the user.

  • 2
    More precisely, /opt/X11/bin/ X is a symlink to Xquartz, and HFS+ is case-insensitive by default. – Michael Homer Jan 27 '18 at 22:06
  • @MichaelHomer Corrected. Thanks, I knew it is case insensitive, but had no ideia it was that bad. ls -l x lrwxr-xr-x 1 ruiribeiro wheel 7 4 Dec 21:56 x -> Xquartz – Rui F Ribeiro Jan 27 '18 at 22:08
  • 3
    Obligatory Linus rant: cio.com/article/2868393/… – ilkkachu Jan 27 '18 at 22:45
  • 1
    @MichaelHomer From macOS 10.13, the filesystem is APFS which is also case-insensitive by default. – Ortomala Lokni Jan 28 '18 at 0:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.