win-ls
win-ls
is an alias for the ls
command on Windows machines. It's for anyone who can't break the habit switching from Linux/Mac back to Windows.
Install
npm i win-ls -g
Make sure you use the
-g
command to use globally
Usage
Pretty simple. Just use ls
in your Windows Command prompt. This produces:
C:\win-ls>lsVolume in drive C is DATAVolume Serial Number is XXXX-XXXXDirectory of C:\win-ls20/11/2019 03:53 PM <DIR> .20/11/2019 03:53 PM <DIR> ..20/11/2019 03:02 PM 13 .gitignore20/11/2019 02:38 PM 542 index.js20/11/2019 03:35 PM <DIR> node_modules20/11/2019 03:33 PM 362 package-lock.json20/11/2019 03:13 PM 396 package.json20/11/2019 04:00 PM 324 README.MD5 File(s) 1,637 bytes3 Dir(s) XX,XXX,XXX,XXX bytes free