Would I need to cite explanation of linux command lines? I am a bit confused about how I go about this, as the questions require me to search some commands and explain what they do, or in some cases the differences between the commands. 

I've been trying to do that, but then I find that none of the actually knowledge ends up being mine. I'm just copying what others have said this command does, and what the differences between these two commands are, and possibly following it up with my own example.

I ended up with really just a reference after each one of my paragraphs. 

Isn't there any way these commands and what they do could be considered common knowledge? In the end, many people are using them everyday and there are many websites explaining what they are for and how they differ from other commands. How would citation apply in this case?
Common Linux commands can typically be listed without introduction, when you're writing for Linux users.1 More advanced commands require introduction. As you've hinted, providing your own introduction is rather tiresome, because numerous introductions already exist. Hence, 


I suggest that you simply quote what others have said and provide a citation to the original.


Ideally, I'd recommend quoting man pages, since they are reputable, but you might have to rely on other sources when man pages provide insufficient detail.



1 What constitutes a common Linux command is rather vague. I'd certainly include cat, cd, and cp. I'd also include less and more. Thereafter I'd be a little hesitant, should grep, ps, ... be considered common?