Linux / Unix
Setup SSH Tunnel
// use -p only if the ssh port is different to the default 22
ssh -i ~/.ssh/id_rsa_XXX -p 4422 -L 8080:localhost:8080 User@ServerOrIpHow to Change Hostname on Ubuntu 18.04
sudo hostnamectl set-hostname linuxizeAdd a network interface alias
sudo ifconfig lo:0 10.254.254.254 netmask 255.255.255.0 upsudo ifconfig lo0 alias 10.254.254.254How to count all files extension
find . -type f | sed -n 's/..*\.//p' | sort | uniq -cGrep in file content which is in zip archive
unzip -p archive.zip filenam* | grep search_strLast updated
Was this helpful?