Run command in background linux
Run a script immune to SIGHUP; redirect output to file
nohup ./script.sh > /tmp/out.log 2>&1 &
more linux
all 133 commands →
Create SSH tunnel
ssh -L 8080:internal-service:80 user@bastion -N -f
Extract tar.gz
tar -xzf archive.tar.gz -C /target/dir/
Generate random password
openssl rand -base64 32
Check certificate details
openssl s_client -connect example.com:443 </dev/null 2>/dev/null | openssl x509 -noout -dates -subject
Awk — sum a column
awk '{sum += $3} END {print sum}' file.txt