Command Prompt

Contents

Command Prompt Tips & Tricks

findstr "string" *.*
findstr "string" *.file_type
findstr "string" *<filename>*.*

Add the following flags to modify search conditions:

  • /s = recursive search
  • /i = not case sensitive
  • /m = return only file name
dir
dir *<file/directory name>*
dir *.file_type

Add /s to recursively list results

dir *.* /w
cd C:\h2o-3.8.3.2
java -Xmx4g -jar h2o.jar  # Start with 4GB ram
java -Xmx16g -jar h2o.jar -nthreads -1 # Start with 16Gb ram & all threads
java -Xmx4g -jar h2o.jar -port 55555 -ip 000.000.000.000  # Start on port 55555 with IP 000.000.000.000
taskkill /F /IM UCMAPI.exe
jupyter notebook  # This will startup & run locally in whichever folder you start from
jupyter notebook --no-browser  # Prevents from automatically opening a browser windows
jupyter notebook --ip=* --no-browser # Enables notebook to be accessible over a local network
jupyter nbconvert "<...>.ipynb" --to slides --post serve