sudo pip install VS pip install –user

$ sudo pip install Installs the package globally in your python installation, i.e. for all users. $ pip install –user Installs to the local user directory, i.e. ~/.local/lib/python — just you. Example: $ sudo pip install jupyter $ jupyter notebook Will run jupyter, open a web browser, allow you to work with notebooks. $ pip … Read more

Open file via SSH and Sudo with Emacs

As of Emacs 24.3, an analog of the old multi: syntax has been layered on top of the modern tramp-default-proxies-alist approach, meaning that you can once again perform multi-hops without any prior configuration. For details, see: C-hig (tramp)Ad-hoc multi-hops RET With the new syntax, each ‘hop’ is separated by |. The example in the manual … Read more

Command not found when using sudo

Permission denied In order to run a script the file must have an executable permission bit set. In order to fully understand Linux file permissions you can study the documentation for the chmod command. chmod, an abbreviation of change mode, is the command that is used to change the permission settings of a file. To … Read more