Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
chongli
on June 7, 2015
|
parent
|
context
|
favorite
| on:
Unix is not an acceptable Unix
If you've got a lot of files in a directory and you only want information about a subset of them then you're better off using a command like find:
find . -maxdepth 1 -perm /g=w -exec ls -ald {} \;
This finds all group-writeable files in the current directory and lists them using ls.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: