atom editor

How to move the atom editor installable file to a different location?

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

Share it onShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

How to open a file in Atom editor from a Mac terminal?

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 .

Share it onShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
Kurinchi Calendar
November 2017
M T W T F S S
« Oct    
 12345
6789101112
13141516171819
20212223242526
27282930