Last active
September 17, 2019 15:47
-
-
Save felixmon/b7497f733ea3299f7ed1354ab5f6911c to your computer and use it in GitHub Desktop.
LS full/absolute path of a file
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
# https://www.rapidtables.com/code/linux/ls/ls-full-path.html | |
$ ls -d $PWD/* | |
$ ls -d $PWD/*.docx | |
# Get the sum number | |
$ ls -d $PWD/*.docx | wc -l |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment