dos/cmd equivalent to "head"

The DOS/Command Prompt equivalent to the "head" command in BASIC is the "more" command. The "more" command allows you to view the first few lines of a text file in the command prompt. To use the "more" command, you would simply type "more" followed by the name of the file you want to view. This will display the first few lines of the file on the screen. If you want to view a specific number of lines, you can use the "/n" option, where "n" is the number of lines you want to view. For example, to view the first 10 lines of a file, you would type "more /10 filename.txt".