powershell - how to stop listing directories in powershell after you've entered dir -r?
问题描述
i was trying to list the directories of my user but i didn't realize my current working directory was in c:/ and when i entered dir -r, powershell started to list every single directory on my drive! It's been going on for a long time now. How do i stop it?
解决方案
Use Ctrl + C to stop commands.
You can also simply close the PowerShell prompt window.
推荐阅读
- mysql - error initializing database (may take a long time) mysql server
- javascript - In JavaScript, why pass the context as an argument to a function call when the context is already determined by who calls it?
- java - AutoCloseable-ish 方法,但仅在 catch 时运行
- android - 在 React Native 应用程序中接收数据通知时未触发“RNFirebaseBackgroundMessage”事件
- java - 使用java提取XML的所有重复元素
- azure-devops - 将用户添加到 Azure DevOps 中的存储库
- java - Caused by: java.lang.NoSuchMethodError: org.glassfish.jersey.message.internal.HeaderUtils.asStringHeadersSingleValue
- powershell - Powershell - 选择字符串(SLS)将一行拆分为多行
- javascript - Nodejs user leaves page prematurely
- r - 在特定组内排列值