LFCS / reference
reference
find / -size +100M -type f 2>/dev/nullFiles over 100MB, suppress errors
find /etc -name '*.conf' -mtime -7Conf files modified in last 7 days
grep -rin 'error' /var/logRecursive, case-insensitive, with line numbers
sed -i 's/old/new/g' fileIn-place global replace
awk -F: '{print $1}' /etc/passwdFirst colon-field of each line
cut -d: -f1,7 /etc/passwdFields 1 and 7
sort file | uniq -c | sort -rnCount + rank duplicate lines
tar czf a.tgz dir / tar xzf a.tgz -C /dstCreate / extract gzip tar
ln -s target linkSymbolic link (hard: omit -s)