This question already has an answer here:
I'd like to check
$ cat -n /etc/passwd 1 ## 2 # User Database 3 # 4 # Note that this file is consulted directly only when the system is running 5 # in single-user mode. At other times this information is provided by 6 # Open Directory. 7 # 8 # See the opendirectoryd(8) man page for additional information about 9 # Open Directory. 10 ## 11 nobody:*:-2:-2:Unprivileged User:/var/empty:/usr/bin/false
As we see, the firt 10 lines are commented, the result I desire some command like
$ cat -n [11:] /etc/passwd nobody:*:-2:-2:Unprivileged User:/var/empty:/usr/bin/false root:*:0:0:System Administrator:/var/root:/bin/sh daemon:*:1:1:System Services:/var/root:/usr/bin/false _uucp:*:4:4:Unix to Unix Copy Protocol:/var/spool/uucp:/usr/sbin/uucico
How to accomplish it?