1

I want to open header file in /usr/local/include. How to open it by terminal?

Roka
  • 31
  • 2
    Open with what? Text editor? usually you type name-of-your-editor /usr/local/include/name-of your.h. For example vim /usr/local/include/foobar.h. Maybe I don't understand your question. – Philippos Sep 20 '17 at 08:11

1 Answers1

1

You need permissions to open the file (read, and write if you want to edit). Then I would use vi/vim, or a more "user friendly" nano, followed by the name of your header file, to read its contents, assuming you are already inside /usr/local/include.

S.Ith
  • 518