You can install and use the Taskwarrior command-line to-do list by following this tutorial from TechRepublic.
How to install and use the Taskwarrior command-line todo list
If you want a very efficient way to keep track of your task lists from the command line, Taskwarrior is the tool to use.
How to install and use the Taskwarrior command-line todo list