LinuxCommandLibrary

atom

atom

TLDR

Open a file or directory

$ atom [path/to/file_or_directory]
copy


Open a file or directory in a new window
$ atom -n [path/to/file_or_directory]
copy


Open a file or directory in an existing window
$ atom --add [path/to/file_or_directory]
copy


Open Atom in safe mode (does not load any additional packages)
$ atom --safe
copy


Prevent Atom from forking into the background, keeping Atom attached to the terminal
$ atom --foreground
copy


Wait for Atom window to close before returning (useful for Git commit editor)
$ atom --wait
copy

Help

Options:
      --help     Show help                                             [boolean] 
  -v, --version  Show version number                                   [boolean] 

Copied to clipboard