Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
66,664
reputation
48
230
282

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.

751
answers
78
questions
~11.0m
people reached

Top Tags (681)

Score 1,419
Posts 167
Posts % 20
Score 1,234
Posts 171
Score 557
Posts 62
Score 495
Posts 60
Score 448
Posts 41
Score 428
Posts 39

Top Posts (829) All Questions Answers | Votes Newest

View all questions and answers

Badges (560)

Gold

48

Rarest

Silver

230

Rarest

Bronze

282

Rarest