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:
Lists the single line line.
Lists incr+1
lines starting at
min.
Lists lines min through max.
Lists the first few lines from subroutine subname.
Also see the w
and -
commands.