Skip to content

Commands

Commands based on useful packages

btop

similar to htop

btop
    # better top

gdu

graphical du command that is really fast

gdu 
    -x / # do not cross filesystem boundaries, i.e. only count files and directories on the same filesystem as the directory being scanned.

lsof

lsof
    # lists open files

ncdu

graphical du command that is really fast

ncdu 
    -x / # do not cross filesystem boundaries, i.e. only count files and directories on the same filesystem as the directory being scanned.

nproc

nproc
    # number of processors

ssh-keygen

ssh-keygen
    -t # for type
    -C # for comment
ssh-keygen -t ed25519 -C "username@machine-name"