I am tinkering with Android developing. Using Ubuntu 16.04.3 LTS, Android Studio 3.0, Android Debug Bridge version 1.0.32.
I meant to get a dump of file sizes with
$ adb shell
shell@j7elte:/ $ uname -a
Linux localhost 3.10.61-10026643 #1 SMP PREEMPT Tue Feb 14 06:53:29 KST 2017 armv8l
shell@j7elte:/ $ du -n -d 1 | grep -i Permission
using grep -i
to filter out lines with Permission denied
. But neither -i
or --invert-match
work.
My two questions are:
For this specific case, what would the appropriate option be? (equivalent to --invert-match
)
In general, how can I get the list of options with a description, for shell commands? I am used to grep --help
, e.g., but it does not work. There is no man
or info
either.