Can I get a free Command Line Interface: Crash Course book
Yes, the whole Learn Ruby The Hard Way book is free:
https://learnrubythehardway.org/book/appendixa.html