lo schortcut per la tilde è: Alt Gr + ì ma nel terminale basterà premere il tasto Pg Down per avere subito il nostro carattere ~. Per le parentesi graffe in tutti i Sistemi Operativi, basta dare: Shift + [ (che si traduce poi in Shift + Alt Gr + …
Syntax color in less
If you want syntax highlighting in less, you can use source highlight software: http://www.gnu.org/software/src-highlite In Debian bases systems, package name is source-highlight and you can start using just setting two environment values as below: [bash light=”true”]export LESSOPEN="| /usr/share/source-highlight/src-hilite-lesspipe.sh %s"[/bash] [bash light=”true”]export LESS=’ -R ‘[/bash]
Screen in Debian Keep Your SSH Session Running when You Disconnect
sudo apt-get install screen screen -R foo foo is the name of the screen session, you can recover it later if you disconnect from server Keep Your SSH Session Running when You Disconnect Screen is like a window manager for your console. It will allow you to keep multiple terminal …
Leggi tutto “Screen in Debian Keep Your SSH Session Running when You Disconnect”
Copy files using ssh scp
copy from remote server scp -P22 [email protected]:/home/user/.virtualenvs/vallo/requirements.txt /Users/user/requirements.txt copy from local server scp -P22 somefile username@server:/home/username/ Copy a directory scp -r r[email protected]:/var/www/whatportis/* /var/www/whatportis/