Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 421 Bytes

allcommands.md

File metadata and controls

33 lines (22 loc) · 421 Bytes

cross-cmd ✨

All commands

read file

  • win32: 'type'
  • linux: 'cat'
  • darwin: 'cat'

make directory

  • win32: 'mkdir'
  • linux: 'mkdir'
  • darwin: 'mkdir'

create empty file

  • win32: 'type nul >'
  • linux: 'touch'
  • darwin: 'touch'

delete empty/non-empty directory

  • win32: 'rmdir /q /s'
  • linux: 'rm -rf'
  • darwin: 'rm -rf'

delete a file

  • win32: 'del /f'
  • linux: 'rm -f'
  • darwin: 'rm -f'