CLI PowerShell Vocab.txt

Card Set Information

CLI PowerShell Vocab.txt
2012-06-28 20:12:36
command line interface Windows PowerShell

Windows PowerShell command line interface commands and terminology
Show Answers:

  1. pwd
    print working directory
  2. hostname
    print computer's network name
  3. mkdir
    make directory
  4. cd
    change directory
  5. ls
    list contents of directory (current directory by default)
  6. rmdir
    remove a directory
  7. pushd
    push a directory (to the top of the stack - by default saves the current directory to memory and then switches to a different directory; with popd this lets you easily return to the saved directory)
  8. popd
    pop a directory (go the path of the memory at the top of the stack, typically the directory that was previously pushed; in PS can work your way back through a series of pushes)
  9. cp
    copy a file or directory
  10. robocopy
    robust copy (PS unique)
  11. mv
    move a file or directory
  12. more
    page through a file (presumably faster?)
  13. type
    print a file (PS unique)
  14. forfiles
    run a command on lots of files (PS unique)
  15. dir -r
    find files (PS unique)
  16. select-string
    find stuff inside files (PS unique)
  17. help
    read a manual page (PS unique)
  18. helpctr
    find what manual page is appropriate
  19. echo
    print some arguments
  20. set
    export/set a new environment variable
  21. exit
    exit the shell
  22. runas
    DANGER become super user DANGER
  23. attrib
    change permission modifiers
  24. iCACLS
    change owernship