$ mongo
use dbname
Call this command before using a specific database. This command also creates the database, but the new database is only save when you insert the first document in a collection.
sudo apt-get install zsh
Via curl
On Ubuntu 16.04, after running yarn global add express-generator
the command express
didn't became available.
This hapenned because the path to the binaries wasn't set. If you're using zsh, open your .zshrc
and add the following:
export PATH="$PATH:$HOME/.config/yarn/global/node_modules/.bin"
{ | |
"env": { | |
"browser": true, | |
"node": true, | |
"es6": true | |
}, | |
"plugins": ["react"], | |
"ecmaFeatures": { |
The Ubuntu version used is 16.04, but it should be easily adapted to other Ubuntu flavors or even other Linux distros.
sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer
sudo apt-get remove --purge vim vim-runtime vim-gnome vim-tiny vim-gui-common | |
sudo apt-get install liblua5.1-dev luajit libluajit-5.1 python-dev ruby-dev libperl-dev libncurses5-dev libatk1.0-dev libx11-dev libxpm-dev libxt-dev | |
#Optional: so vim can be uninstalled again via `dpkg -r vim` | |
sudo apt-get install checkinstall | |
sudo rm -rf /usr/local/share/vim /usr/bin/vim | |
cd ~ |
#!/bin/sh | |
SHORTCUT="[Desktop Entry] | |
Name=Sublime Text 3 | |
Comment=Edit text files | |
Exec=/usr/local/sublime-text-3/sublime_text | |
Icon=/usr/local/sublime-text-3/Icon/128x128/sublime_text.png | |
Terminal=false | |
Type=Application | |
Encoding=UTF-8 | |
Categories=Utility;TextEditor;" |
Oh-my-zsh is an extension of the traditional z shell that is extensible via community created plugins (Plugins found here: oh-my-zsh github repo). It is, in my opinion, a breath of fresh air in comparison to the traditional bash shell.
DO THE FOLLOWING IN ORDER
The first step for this install is getting zsh
we will do this via yum. From your terminal: