If no range is specified L will list the first 23 lines of the file you are editing. P Displays listing of range of lines. If no range is specified P will display the complete file. This is different from L in that P changes the current line to be the last line. Searches the current file open for a certain string.
Number specifies how many copies to do.
D Deletes a certain range of lines. I Inserts new line at the beginning of line specified. M Moves a certain range to the specified line. Allows the editing of specified line. Searches the specified range for the first specified string if the string is found replaces the string with the second specified string.