Windows - List Directories in CLI
clearlscommand prompt, cmd.exe
PowerShell or powershell.exe
Alias: A nickname for common commands
Parameter: A value that is associated with a commandÂ
ls = list directory command
Parent directory & child directories: A parent directory is a directory that houses all subsequent child directories
This will give us a brief summary of the command’s parameters…But if you want to see more detailed help, try Get-Help ls -Full
Now you can see a description of each of the parameters and ​some examples of how to use the command. ​
What if we wanted to see all the hidden files in this directory?…….
The -Force parameter will show hidden and ​system files that aren’t normally listed with just ls. ​Now you can see some important files and directories like Recycle Bin.