Equivalent bash commands coming from Windows

Equivalent bash commands coming from Windows
Photo by Gabriel Heinzer / Unsplash

Some Equivalents

WindowsLinux
dirls -l
c:cd /c (your actual c drive cd /mnt/c)
clsclear

Useful commands

vi - View contents of a file, to exit :q!
The vi command in Bash for Windows runs vim which is a crazy but powerful editor and too much to go into here

top - shows the cpu and memory usage of running processes
ps - shows running processes
grep - Search the output of a command

E.g. ps | grep node would list the lines of the output of ps that have node in them

There are of course loads more ask I can put them up. I'll add more as I think of them.