- At the Bash prompt, enter ls -l to list all of the files, along with the metadata that the command shows by default:
- Go to the Terminal that has PowerShell running and type in Get-ChildItem at the prompt:
- Now, let's pick only the name of the folders and the last modified date and time. This is done in Bash by passing the output of ls -l to awk:
ls -l | awk '{print $6, $7, $8, $9}'
- Next, let's pick the same information ...