Reading a DIR Listing
Work out what those columns are telling you.
Look closely at how DIR prints the names: two columns, up to 8 characters for the name and 3 for the type. That was the rule, called 8.3, and no MS-DOS filename could break it. It is why old files are called things like AUTOEXEC.BAT and README.TXT rather than what-this-does.txt.
/W is a switch: an extra instruction, written with a forward slash where bash uses a dash. /W means "wide", so entries are packed across the screen with the details left out, and folder names get [square brackets] so you can still spot them.
You can also give DIR a wildcard. *.SYS means "every file whose type is SYS", which is how you look at one kind of file at a time.
DIR /WWide listing: names only, in columns.DIR *.SYSOnly the .SYS files.DIR *.TXTOnly the .TXT files.Your task
- ○Get the wide listing with DIR /W
- ○List just one kind of file with a wildcard
Open this level in your browser to type the commands at a live terminal that answers back.