Past ExamsRwanda ICT preparation

Topics / Operating Systems

In PowerShell, both dir and ls list the contents of a folder. Why?

Dans PowerShell, dir et ls listent tous deux le contenu d'un dossier. Pourquoi ?

Answers
APowerShell runs a hidden copy of Command Prompt and BashPowerShell exécute une copie cachée de l'invite de commandes et de Bash
BThey are separate programs installed with Windows TerminalCe sont des programmes distincts installés avec Windows Terminal
CBoth are aliases for the Get-ChildItem cmdletCe sont deux alias de la cmdlet Get-ChildItem
Dls only works when connected to a Linux serverls ne fonctionne qu'en étant connecté à un serveur Linux
The answer and explanation are in the full bank.

This question is one of 2,831 in the paid banks. Each comes with the correct answer and the reasoning behind it, not just a mark.

Unlock for 5,000 RWF

MIFOTRA exam practicealigned to Practice set: Linux and CMD Commands·2 marks·Medium

More Operating Systems questions