home
arrow_upward

Unix

My notes




Lesser known but extremely useful unix commands.



View files / display files



If you want to display a big, structured dataset (like a .csv), but cat is wrapping the text, use less instead.

less -S filename


If you want to scroll right or left, use ESC+) and ESC+(.



Download file from URL



If you want to download a file from a URL (typically to install from zip/tar):
wget -P examples/ www.example.com/image.png


curl -o examples/image.png www.example.com/image.png


Unix dev environment setup on a Windows machine using WSL

You need to install Ubuntu or Debian using wsl. Then configure. All steps saved in this repo. Vinod Krishnan Rocks !