I want to quickly identify all writable files in the directory. What is the quick way to do it?
-f will test for a file
-f
-w will test whether it's writeable
-w
Example:
$ for f in *; do [ -f $f ] && [ -w $f ] && echo $f; done