Reducing disk writes

Under systemd, jounald writes the system log to disk every five minutes. To reduce the number of writes to disk, this can be changed to once a day, by changing the line

#SyncIntervalSec=5m

to
SyncIntervalSec=1440m

in the file /etc/systemd/journald.conf.

 

 

CDPATH

So, you set an environmental variable called PATH in your .bashrc.

This gives you goodies like tab completion of the name and not needing to type in the full path for a program.

If you use a CDPATH environmental variable, you get the same magic when using cd to change directories.

Make sure to include to include “.” in the path, so that cd looks in the current directory.