Artificial intelligent assistant

How to make alias for atom? In linux mint, is it possible to run atom editor by command atom? I tried atom Command 'atom' is available in '/snap/bin/atom' The command could not be located because '/snap/bin' is not included in the PATH environment variable. atom: command not found

Two solutions:

1. Add the `/snap/bin` directory to you `$PATH`. This would give you direct access to _any_ command in that directory.

PATH=$PATH:/snap/bin


(this would go in your `~/.bashrc` file, for example).

2. Create an alias called `atom` that calls `/snap/bin/atom`. This would replace `atom` with `/snap/bin/atom` if you used the word as a command on the command line.

alias atom=/snap/bin/atom


(this could also be added to your `~/.bashrc` file).

Instead of an alias, you could have a simple shell function that does the same thing:

atom () { /snap/bin/atom "$@"; }





Changes to `~/.bashrc` would be activated when you start a new shell.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 835c0efa6f66ac216cc05f5d78ec6764