diff --git a/README.md b/README.md index 20f6ac8..59ab7b6 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,7 @@ If you want to contribute, you are highly encouraged to do so. Please read the [ - [Networking Tools](#networking-tools) - [TCP/IP](#tcpip) - [Wi-Fi](#wi-fi) +- [Open](#open) - [Package Managers](#package-managers) - [Printing](#printing) - [Security](#security) @@ -482,6 +483,32 @@ defaults read /Library/Preferences/SystemConfiguration/com.apple.airport.prefere security find-generic-password -ga "ROUTERNAME" | grep "password:" ``` +## Open + +#### Open a Url +```bash +open http://www.github.com +``` + +#### Open a file +```bash +open README.md +``` + +#### Open an application using -a +```bash +open -a "Google Chrome" http://www.github.com +``` + +#### Open a directory in Finder +```bash +open /path/to/directory +``` + +#### Open the current directory +```bash +open . +``` ## Package Managers