Can I specify fewer than 10 lines?

082

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!

0 Comments

no data
Be the first to share your comment!