golb

Useful commands

Grep everything

grep -rni "pandoc" *
grep -rni "pandoc" ./**/Makefile # in specific file

systemctl and journalctl

SERVICE=service_name.service
systemctl start $SERVICE
journalctl -u $SERVICE -f

tar && zip

# create
# -c create -v verbose -z gzip -f archivename
tar -cvzf archive.tar.gz directory
zip -r archivename.zip directory

# extract
# -x extract -v verbose -f archivename -C directory
tar -xvf archive.tar.gz -C extracted
unzip archivename.zip -d extracted