Yes, you can specify fewer than 10 lines using the -n option with the head command. For example, to display the first 3 lines of a file, you would use:
head -n 3 500-worst-passwords.txt
This command will output only the first 3 lines of 500-worst-passwords.txt. If you have any further questions, feel free to ask!
