I need to print the lines after 2nd line irrespective of the number of lines in file
if the file contents are like below
----------
root:!:0:0::/root:/usr/bin/ksh
daemon:!:1:1::/etc:
bin:!:2:2::/bin:
sys:!:3:3::/usr/sys:
adm:!:4:4::/var/adm:
uucp:!:5:5::/usr/lib/uucp:
guest:!100::/home/guest:
nobody:!:4294967294:4294967294::/:
lpd:!:9:4294967294::/:
.
.
.
I need from the line after "daemon" line like as below
-----
bin:!:2:2::/bin:
sys:!:3:3::/usr/sys:
adm:!:4:4::/var/adm:
uucp:!:5:5::/usr/lib/uucp:
guest:!100::/home/guest:
nobody:!:4294967294:4294967294::/:
lpd:!:9:4294967294::/:
.
.
.
The tail command is better in this scenario IMHO, but for completeness, you can use $ (meaning last line of file) instead of /ArbitWord/ in the sed script.