Tidbits tagged with #command-line (3)
You know cat file.txt which prints all the lines in a file from first to last. But what if you want to print them from last to first? Easy, just write cat backwards, which is tac voila.
Continue reading →
I want to get my nextcloud setup to run using docker-compose, and to start with I need a linux machine with docker running at start up. This is task #1, it looks like this blog post
has the answers how to do it.
Continue reading →
The annoying port 8080 is already in use message and not knowing which process is occupying this port sucks. I knew it was lsof that can help me. But how exactly? TL;DR: ps -p `lsof -i :8080 -t` -o command= (on Mac OSX)
Continue reading →