Oliver Salzburg's user avatar
Oliver Salzburg's user avatar
Oliver Salzburg's user avatar
Oliver Salzburg
  • Member for 12 years, 6 months
  • Last seen more than a month ago
Stats
3,450
reputation
5k
reached
3
answers
55
questions
Loading…
About

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.

This user doesn’t have any gold badges yet.
16
silver badges
20
bronze badges
21
Score
4
Posts
7
Posts %
6
Score
13
Posts
22
Posts %
6
Score
5
Posts
9
Posts %
0
Score
38
Posts
66
Posts %
0
Score
15
Posts
26
Posts %
0
Score
15
Posts
26
Posts %
Top posts
View all questions and answers