l
l [linespec
]
- If linespec is omitted, lists the next few lines. Otherwise lists the lines specified by linespec, which can be one of the following:
- line
- Lists the single line line.
- min+incr
- Lists incr
+1
lines starting at min. - min-max
- Lists lines min through max.
- subname
- Lists the first few lines from subroutine subname.
Also see the
w
and-
commands.