Skip to content

Instantly share code, notes, and snippets.

View drvenabili's full-sized avatar

Simon Hengchen drvenabili

View GitHub Profile
@jctosta
jctosta / screen_cheatsheet.markdown
Last active March 4, 2026 08:16
Screen Cheatsheet

Screen Quick Reference

Basic

Description Command
Start a new session with session name screen -S <session_name>
List running sessions / screens screen -ls
Attach to a running session screen -x
Attach to a running session with name screen -r
@KartikTalwar
KartikTalwar / Documentation.md
Last active October 31, 2025 06:59
Rsync over SSH - (40MB/s over 1GB NICs)

The fastest remote directory rsync over ssh archival I can muster (40MB/s over 1gb NICs)

This creates an archive that does the following:

rsync (Everyone seems to like -z, but it is much slower for me)

  • a: archive mode - rescursive, preserves owner, preserves permissions, preserves modification times, preserves group, copies symlinks as symlinks, preserves device files.
  • H: preserves hard-links
  • A: preserves ACLs
@NapoleonWils0n
NapoleonWils0n / awk_sed_remove_double_quotes.sh
Created November 10, 2012 22:30
bash: awk sed remove double quotes
#!/bin/sh
# print 1st field with awk pipe to sed and remove double quotes
VBoxManage list vms | awk '{print $1}' | sed 's/\"//g'

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name: