wolfgang ziegler


„make stuff and blog about it“

8 snips use the tag Linux

Git Linux

Persist your git credentials on Linux.

git config --global credential.helper store

Linux Tool

Generate text banners in your terminal.

sudo apt-get install figlet

Linux

Find out your mainboard model using Linux commandline.

sudo dmidecode -t 2

Ignore modified files due to changes in file permissions.

git config core.fileMode false
Linux

If you want to logout from your Linux desktop session, but don't want to leave your terminal window.

gnome-session-quit

Git Linux

From time to time I clean up all the local branches that have assembled over time in a Git repository.

git branch | grep -v "main" | xargs git branch -D

Linux

Quick way to restart your Linux Desktop environment. Useful when trying out stuff that needs to run at startup.

sudo service lightdm restart