- tmux new [-s name] [cmd](- :new) - new session
- tmux ls(- :ls) - list sessions
- tmux switch [-t name](- :switch) - switches to an existing session
| #!/bin/bash | |
| iatest=$(expr index "$-" i) | |
| ####################################################### | |
| # SOURCED ALIAS'S AND SCRIPTS BY zachbrowne.me | |
| ####################################################### | |
| # Source global definitions | |
| if [ -f /etc/bashrc ]; then | |
| . /etc/bashrc | 
| PermitRootLogin prohibit-password | |
| PubkeyAuthentication yes | |
| ChallengeResponseAuthentication no | |
| PasswordAuthentication no | |
| UsePAM no | |
| X11Forwarding yes | |
| PrintMotd no | |
| Banner none | |
| AcceptEnv LANG LC_* | |
| Subsystem sftp /usr/lib/openssh/sftp-server | 
| #!/usr/bin/env bash | |
| # Install GO for Ubuntu 18.04 | |
| # First argument spcify GOPATH varibale | |
| # By default GOPATH=~/go | |
| if [ "$1" ] ; then | |
| GO_DIR=$1 | |
| else | |
| GO_DIR='$HOME/go' | 
| #!/usr/bin/env bash | |
| # Install and configure terraform for Linux 64-bit | |
| PLUGINS_CACHE_DIR='$HOME/.terraform.d/plugin-cache' | |
| TERRAFORM_VERSION='terraform_0.12.3_linux_amd64.zip' | |
| TERRAFORMRC="$HOME/.terraformrc" | |
| TERRAFORM_LOCATION="$HOME/.local/bin" | |
| EXPORT_LOCAL_PATH='export PATH=$PATH:'"$LOCAL_PATH" | 
| #!/usr/bin/env bash | |
| # Automatic install vscale provider for terraform | |
| # GOPATH should be configured before launch | |
| source ~/.profile | |
| sudo apt-get update && sudo apt-get install git -y && \ | |
| mkdir -p "$GOPATH"/src/github.com/terraform-providers/terraform-provider-vscale && \ | |
| git clone https://github.com/burkostya/terraform-provider-vscale.git \ | |
| "$GOPATH"/src/github.com/terraform-providers/terraform-provider-vscale && \ |