The seq command is handy for generating number sequences on Linux. It requires at least one number as an argument and, given that, it will provide all the numbers from 1 to whatever number you specify ...
Linux has hundreds of commands. Thankfully, you only need to know a handful.