La séance de questions et réponses d’aujourd’hui nous est offerte par SuperUser, une sous-division de Stack Exchange, un groupe de sites Web de questions-réponses dirigé par la communauté.
La question
Le lecteur de superutilisateur Alexander B. souhaite savoir s’il est possible de vider l’historique dans l’invite de commande Windows:
When using the Windows command prompt, a person can press the up arrow key to view and retrieve old commands. Is it possible to erase the command history, and if so, how would a person do it?
Est-il possible d'effacer l'historique dans l'invite de commande Windows?
La réponse
AFH, contributeur de SuperUser, a la solution pour nous:
There is a simple keyboard shortcut for doing so while the command prompt is still open, Alt+F7. Alternatively, the command history is cleared every time you exit and restart the command prompt.
If you want to explore further, you will find that there are very few questions about the command prompt that are not answered on the SS64 reference website.
Avez-vous quelque chose à ajouter à l'explication? Sound off dans les commentaires. Voulez-vous lire plus de réponses d'autres utilisateurs de Stack Exchange doués en technologie? Découvrez le fil de discussion complet ici.