Timeline for What does ^d mean in ls -l | grep ^d?
Current License: CC BY-SA 2.5
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 23, 2016 at 20:20 | review | Suggested edits | |||
| Apr 23, 2016 at 20:36 | |||||
| Mar 6, 2015 at 1:45 | comment | added | Adam Katz | This works, but is suboptimal. Consider ls */ instead, which will work with or without the long listing (ls -l) and without needing grep (and thus is very slightly faster) and is less likely (than ls -l *) to run into an argument list too long issue (since it puts just directories into the command line). Of course, find . -maxdepth 1 -type d is even better, as it doesn't clutter your command line at all. | |
| Oct 14, 2010 at 8:56 | vote | accept | Glide | ||
| Oct 14, 2010 at 3:51 | comment | added | Trey Hunner | For related information, look up regular expressions or check out this page on using regular expressions in grep: robelle.com/smugbook/regexpr.html | |
| Oct 13, 2010 at 19:43 | answer | added | Michael Mrozek | timeline score: 27 | |
| Oct 13, 2010 at 19:42 | history | edited | Marcel Stimberg | edited tags | |
| Oct 13, 2010 at 19:40 | history | edited | Michael Mrozek | CC BY-SA 2.5 | deleted 1 characters in body |
| Oct 13, 2010 at 19:34 | answer | added | Andy Lester | timeline score: 18 | |
| Oct 13, 2010 at 19:29 | history | asked | Glide | CC BY-SA 2.5 |