Skip to content

Instantly share code, notes, and snippets.

@felixmon
Last active September 17, 2019 15:47
Show Gist options
  • Save felixmon/b7497f733ea3299f7ed1354ab5f6911c to your computer and use it in GitHub Desktop.
Save felixmon/b7497f733ea3299f7ed1354ab5f6911c to your computer and use it in GitHub Desktop.
LS full/absolute path of a file
# 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