Created
March 2, 2018 10:52
-
-
Save telatin/7cdb0e482d2fc4f900ff91482f46e2ef to your computer and use it in GitHub Desktop.
Simple demo script counting files and directories in current position
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# A simple script counting files in "current" directory. | |
echo -n "You are working in: " | |
pwd | |
echo -n "Files in your current directory: " | |
ls | wc -l |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment