I am learning Linux using Ubuntu. I need one liner wc commands that displays following info: shows number of line in example. wc-l example.sh (this…

I am learning Linux using Ubuntu. I need one liner wc commands that displays following info:

1. shows number of line in example.sh:

wc-l example.sh (this one i got)

2. shows number of line that are comments in example.sh

3. shows number of block devices in /dev

4. shows number of files in home directory

5. shows number of lines of each file in given directory dir