aboutsummaryrefslogtreecommitdiff
path: root/shell01/ex03
diff options
context:
space:
mode:
authorCabergs Charles <cacharle@e-r6-p7.s19.be>2019-07-02 23:44:43 +0200
committerCabergs Charles <cacharle@e-r6-p7.s19.be>2019-07-02 23:44:43 +0200
commitf870cace58c695e417cde3c6f1ae9d3838d83bc3 (patch)
treeda718a1c479f0846d29326c63e925a35c1e9d4ee /shell01/ex03
parent0619a89ac7c9fc5debc3f7c6d2ee348d2d00b58a (diff)
downloadpiscine-f870cace58c695e417cde3c6f1ae9d3838d83bc3.tar.gz
piscine-f870cace58c695e417cde3c6f1ae9d3838d83bc3.tar.bz2
piscine-f870cace58c695e417cde3c6f1ae9d3838d83bc3.zip
c00 start, shell01 ex01 correcion
Diffstat (limited to 'shell01/ex03')
-rwxr-xr-xshell01/ex03/count_files.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell01/ex03/count_files.sh b/shell01/ex03/count_files.sh
new file mode 100755
index 0000000..4b9918a
--- /dev/null
+++ b/shell01/ex03/count_files.sh
@@ -0,0 +1 @@
+echo $(find . -type f -o -type d | wc -w)