Using scp to Copy to/from a Remote Server with SSH

Published on

scp stands for secure cp (copy), which means that you can copy files across an ssh connection that will be encrypted, and therefore secured. With it you can copy files from or to a remote server. You can even copy files from one remote server to another remote server. Usage scp [[user@]from-host:]source-file [[user@]to-host:][destination-file] Parameters: from-host … Continue reading Using scp to Copy to/from a Remote Server with SSH

vi Cheat Sheet

Published on

Modes vi has two modes insertion mode and command mode. The editor begins in command mode, where the cursor movement and text deletion and pasting occur. Insertion mode begins upon entering an insertion or change command. [ESC] returns the editor to command mode (where you can quit, for example by typing :q!). Most commands execute … Continue reading vi Cheat Sheet

Linux Environment Variables

Published on

BASH /bin/bash BASH_VERSION 4.3.11(1)-release DISPLAY display that X11 programs should use by default :0 HOME home directory of the current user /home/username IFS Internal Field Separator that is used by the parser for word splitting after expansion LANG default system locale en_US.UTF-8 PATH search path for commands /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/java-7-oracle/bin:/usr/lib/jvm/java-7-oracle/db/bin:/usr/lib/jvm/java-7-oracle/jre/bin PS1 characters that the shell displays as … Continue reading Linux Environment Variables