Sometimes when working at the command line, it can be handy to view a file’s contents right in the terminal, or open a file with a certain application. We’ll learn how to view files in the terminal using cat
and less
and we’ll learn how to open them with open
.
The 'open' command is Mac specific. On Linux you can use 'xdg-open'.
It says 'the branch name corresponds to the particular lesson' but all I see is master, on GitHub as well.
Hey Brendan, that's a convention that egghead has that doesn't really make sense for this course. All the example files are in master. Sorry for any confusion.
The 'open' command is Mac specific. On Linux you can use 'xdg-open'.
And on windows you can use explorer command
In windows you can use start .
to open the current folder in the file explorer.