An executable file to open the sublime editor is already contained in the Sublime directory itself. By default this is not added to your $PATH, in your command-line interpreter.
So add that executable file to one of the directory that included in $PATH.
$ ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/sublime
Here ‘/usr/local/bin/’ is present in my $PATH
Then take sublime as following:
$ sublime ~/projects/my-app
Here ‘~/projects/my-app’ is your application path.
You can use mac’s createinstallmedia command. The format to create a bootable USB is given below.
$ sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume |YOUR-USB-DRIVE-PATH-HERE| --applicationpath |DOT-APP-FILE-MACOS|
In My system the command will be as follows:
$ sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/ABHI\'S/ --applicationpath /Applications/Install\ macOS\ Sierra.app/
You can easily find the corresponding software path in your system, if you have a different OS that mentioned above.
For more details, visit:
Get mysql info
$ brew info mysql
$ brew install mysql
Start mysql server first:
$ brew services start mysql
==> Successfully started `mysql` (label: homebrew.mxcl.mysql)
Goto mysql console by:
$ mysql -uroot