Hacker News new | past | comments | ask | show | jobs | submit login

Powershell has aliases, so you can use 'ls' instead of 'Get-ChildItem'. My colleagues tend to use Get-ChildItem in scripts and ls when typing at the command prompt.

Personally, I prefer 'ls' for scripts too. I would never use "rd" for a variable name, but since I speak Unix, the more concise 'ls' seems better. To my colleagues without a Unix background, Get-ChildItem, probably is a better choice.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: