I bequeath myself to the dirt to grow from the grass I love,
AND
If you want me again look for me under your boot-soles.
A realist looks at the world for what it is. In these lines Whitman is being a realist because when he dies he will be buried. He will be under the ground and under people's shoes. Also, when you die you return to the dirt and your decaying body feeds the grass. The other lines do not directly address death even though they talk to the reader about the relationship of the speaker to the reader after he has passed.
The sentence “Abstain from all appearance of evil” is an imperative statement. These types of sentences usually do not have a subject and their structures consist mainly on the bare verb alone. The main purpose of an imperative statement is to give commands. So, in this sentence, there is no subject and it is commanding somebody to abstain from doing something.