FunctionRacerProblemsRace

Only the Text Files

BeginnerBasha shell script

Print the names of the files in this folder that end in .txt, one per line, in alphabetical order.

Example 1

notes.txt
a
todo.txt
b
photo.png
c
run.sh
d
prints
notes.txt
todo.txt

Constraints

Race itor take your time

Write it in your browser, against the clock. The model script, with a note on each command it uses, comes after.

More Bash problems