09-27-2018, 11:23 PM
(This post was last modified: 09-27-2018, 11:24 PM by SirGuyCarleton.)
Some useful commands aliases:
This turns the $PATH environment variable (list of directories the shell will look for commands, separated by colons) in something more readable by replacing the colons with newlines.
df gives you all disk space used on each of your drives. My system has a lot of tmpfs and devtmpfs, so this command with exclude those elements and format it
Code:
path='echo $PATH | sed "s,:,\n,g"
This turns the $PATH environment variable (list of directories the shell will look for commands, separated by colons) in something more readable by replacing the colons with newlines.
Code:
ds='df -hHT --exclude-type=tmpfs --exclude-type=devtmpfs'
df gives you all disk space used on each of your drives. My system has a lot of tmpfs and devtmpfs, so this command with exclude those elements and format it
Currently running: NixOS on a desktop (not for newbies!) and Ubuntu MATE on a laptop.