Home Bash
Post
Cancel

Bash

Types of access

1
2
3
4
$EXPR     # Variable Access
${EXPR}   # Escaped Expansion
$(EXPR)   # Function Expansion
$((EXPR)) # Arithmethic Expansion

Getting the largest file

ncdu (ncurses du) is really nice. use -L to ignore symlinks and –exclude to exclude folders (such as .snapshot for nfs)

This post is licensed under CC BY 4.0 by the author.