Tag Archives: terminal

Enabling bash terminal highlightning

Open ~/.profile Add following lines: export CLICOLOR=1 export LSCOLORS=CxFxCxDxbxegedabagacad Colors: a black b red c green d brown e blue f magenta c cyan h light grey A block black, usually shows up as dark grey B bold red C bold green D bold brown, usually shows up as yellow E bold blue F bold… Read More »

SSH Connection

Open terminal and type: ssh <host> -l <username> <password> Then log in as sudo if needed: sudo su – Other useful commands: – Logging in to mysql: mysql -h <host> -u <username> -p – Logging in to mysql on some port: mysql -h <host> -u <username> -p –port=<port> use <db-name> source <sql-file> – Unzipping: unzip… Read More »