Last active
May 3, 2021 17:33
-
-
Save skwid138/d9ced9ddae99f64c8d8dcba87cb22327 to your computer and use it in GitHub Desktop.
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
# List only directories in the current location | |
ls -d */ | |
# List files and directories with permissions and dates | |
ls -lh | |
# Remove white-sapce (tabs, spaces, and new lines) | |
sed -e ':a' -e 'N' -e '$!ba' -e 's/\n/ /g' -e 's/[\t ]//g;/^$/d' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment