Life habits:
A small number of crabs grow and breed completely in fresh water, and most of them live under rocks in mountain streams. There are also a few crabs, such as ground crabs, which can adapt to land life, burrow in wet mud holes and migrate to the sea during breeding. Most crabs are omnivorous. Some crabs are carnivorous, such as Portunus can prey on fish, shrimp and mollusks. A few crabs, such as window crab, scrape or filter algae and organic debris.
Baidu Encyclopedia-Crab