Safe
export PATH="$HOME/.local/bin:$PATH"linux · bash · Expert
Puts your own user-owned bin directory ahead of the system path for this shell. The directory is writable only by you, so it cannot be used by another local account to shadow a system command.
Think you can spot these under time pressure?
Start TrainingMore Shell
cat ~/.bashrcIntermediate:(){ :|:& };:Intermediateawk '{print $1}' /var/log/nginx/access.log | sort | uniq -c | sort -rn | headExpertfind ./logs -type f -name '*.log' -mtime +7 -print0 | xargs -0 -P 4 -I{} sh -c 'gzip -9 "$1"' _ {}Nightmareawk 'BEGIN{FS=","} NR>1 && $3 ~ /^2[0-9]{2}$/ {c[$2]++} END{for (k in c) printf "%-24s %6d\n", k, c[k]}' ./access.csv | sort -k2 -rn | head -20Nightmareeval "$(echo 'ZGF0ZSAtdQ==' | base64 -d)"Nightmare