New ask Hacker News story: Ask HN: What tricks and tips do you know for $ls Linux command? Thank you
Ask HN: What tricks and tips do you know for $ls Linux command? Thank you
3 by gotac | 0 comments on Hacker News.
What tricks & tips do you know for $ls Linux command? I found few of them interesting: $ls -d */ # to list all directories from current location $ls -l | grep '^-' # to list all regular files from current location $ls -l --time-style=long-iso # print time format yyyy-mm-dd hh:mm Other nice combinations: $ls -Qm # output between quotes delimited by a comma $ls -alsSh # print all files in a long list format, using size option + sort, in a human readable format
3 by gotac | 0 comments on Hacker News.
What tricks & tips do you know for $ls Linux command? I found few of them interesting: $ls -d */ # to list all directories from current location $ls -l | grep '^-' # to list all regular files from current location $ls -l --time-style=long-iso # print time format yyyy-mm-dd hh:mm Other nice combinations: $ls -Qm # output between quotes delimited by a comma $ls -alsSh # print all files in a long list format, using size option + sort, in a human readable format