-
-
Save intijk/6873140cdf2760033f53644c34a4838e to your computer and use it in GitHub Desktop.
ls file with full path
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 | |
echo "$PWD/$1" | |
# usage | |
# ~/tmp$ ls tmp | |
# a b c | |
# ~/tmp$ lsf a | |
# /home/example/tmp/a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment