Home » Tips » CLI for Windows

CLI for Windows

Most command line utilities found on the internet are only valid on Linux or MacOS.

NOUS have listed some equivalents for PowerShell or DOS on Windows.

Symbolic link

The equivalent of ln -s SOURCE_PATH TARGET_PATH is:

mklink /J "Dossier cible" "Dossier d'origine"

Listen to a log file

To debug a script without displaying errors in the browser (which can disrupt AJAX requests), you can follow the log file in the terminal. The equivalent of tail -f FILE_PATH -n 20 is:

get-content FILE_PATH -tail 20 -wait