What is DIR command a substitute of in PowerShell -
i know can use dir list directory , mkdir create new one. however, learned today 1 can (should?) use new-item -itemtype directory "c:\pip" instead, which, indeed, looks more powershellish.
i'm not getting hits when googling equivalent of dir, though. dir dir?
dir | ls
== get-childitem
.
you can figure out aliases using get-alias command: get-alias dir
. aliases used frequently, example, gci
alias get-childitem
well.
Comments
Post a Comment