Skip to content

Commit f479137

Browse files
committed
Complete ls-grep script-02.sh exercise
1 parent baf58a0 commit f479137

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

shell-pipelines/ls-grep/script-02.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@ set -euo pipefail
44

55
# TODO: Write a command to output the names of the files in the sample-files directory whose name starts with an upper case letter.
66
# Your output should contain 10 files.
7+
8+
ls -1 sample-files | grep '^[A-Z]'

0 commit comments

Comments
 (0)