How to move the atom editor installable file to a different location?
Apr 11, 2017 - by kurinchilamp / Linux Server / Post Comment
When Atom editor is installed, it creates a symbolic link in /usr/local/bin folder. Get the new folder path where atom editor installable file resides and run the following command in the terminal
$ ln -s /NewFolder/Atom.app/Contents/Resources/app/atom.sh /usr/local/bin/atom
If a link is already created for the atom editor, then you need to remove the existing symbolic link before creating a new one
$ unlink AtomSymbolicLink (OR)
$ rm AtomSymbolicLink
Continue Reading
How to open a file in Atom editor from a Mac terminal?
Mar 17, 2017 - by kurinchilamp / Linux Server / Post Comment
When atom installs, it sets up a symbolic link to the location where it is installed. You can open a file or folder in atom by using the following commands
a) Open the editor
$ atom
b) Open a file
$ atom index.html
c) Open atom in the current folder
$ atom .
Continue Reading