Linux Tips

List of gathered Linux tips

CTRL + L to clear screen instead of clear command

Instead of cd ~/ you can use cd to go to home directory.

To install a .deb file use sudo chmod +x file.deb then sudo dpkg -i file.deb

If network goes down on VM try following commands /etc/init.d/networking restart or /etc/init.d/network-manager restart

Create a quick server python3 -m http.server 8080

Create netcat listener nc -lvnp 8000

Use uname -a to determine what version of Linux is running.

How to mirror an entire site wget -e robots=off -r -k -l2 https://www.google.com.

Last updated