Skip to content

Useful Linux Commands

Published: at 12:00 AMSuggest Changes
sudo alternatives --config java

EX:
verison 17 => /usr/lib/jvm/java-17-amazon-corretto.aarch64/bin/java
verison 11 => /usr/lib/jvm/java-11-amazon-corretto.aarch64/bin/java
find . -maxdepth 1 -type d | while read -r dir do printf "%s:\t" "$dir"; find "$dir" -type f | wc -l; done
grep -rnw '/path/to/somewhere/' -e 'pattern'
find . -type f -size +100M

Previous Post
Tools debug in k8s
Next Post
Minio notes