Flow of colloidal and living suspensions in confined geometries