77,498
reputation
2
44
84

Der Hochstapler

Never forget:

  • :w !sudo tee %
    Save a file in vim when you neglected to open the file with sudo but already made changes you don't want to lose.

  • Ctrl+X,*
    Evaluate globbing on your current input on the bash command line.

  • postfix flush
    Pump out the postfix queue on your backup MX after you've fixed the issue with your primary MX.

  • git tag -l | xargs -n 1 git push --delete origin; git tag | xargs git tag -d
    Delete all tags from a git repo - remotely and locally.

  • sudo apt-get purge $(for tag in "linux-image" "linux-headers"; do dpkg-query -W -f'${Package}\n' "$tag-[0-9]*.[0-9]*.[0-9]*" | sort -V | awk 'index($0,c){exit} //' c=$(uname -r | cut -d- -f1,2); done)
    Delete old kernels

  • https://signup.microsoft.com/productkeystart
    Register new Office 365 product keys for an existing tenant.

255
answers
32
questions
~57k
people reached
  • Member for 9 years, 10 months
  • 580 profile views
  • Last seen Jan 14 at 13:36

Top tags (80)

Score 946
Posts 191
Posts % 67
Score 323
Posts 82
Score 181
Posts 68
Score 111
Posts 39
Score 92
Posts 22
Score 88
Posts 25

Top posts (287)

View all questions and answers

Badges (130)

Gold

2

Rarest

Silver

44

Rarest

Bronze

84

Rarest