Posts tagged as commandline

Bet you don't know what >&- does? According to Jeff @ stackoverflow: /your/first/command >&- 2>&- Be careful to note the order: >&- closes stdout, which is what you want to do; &>- redirects stdout and s…

Recently, I've done a lot of work on my dotfiles. One thing that always bothers me is the sheer amount of aliases I have laying around everywhere. Kinda frustrating. Additionally, I have a set of scripts I in my env which I'd really like to aut…

I needed a quick and dirty way to allow a non-root user to use lower ports. This is because I'm starting to launch docker containers where the CMD process is run as a non-root user. The first container I thought this might work well for is my do…

Just found the command I’ve forever been looking for: goliath# blkid -o list device fs_type label mount point UUID --------------------------------------------------------------------------------------------…

Made a change to sudo and fudged up the line where I give myself certain permissions… This caused a fun parse error that wouldn’t let me continue my “sudo su” Its ok though, just run: pkexec visudo type your pass, and you’ll be dumped into the…