Terrier is a type of dog rather than a single breed. The name comes from the Latin for earth, because these dogs were developed to hunt rats, foxes and other vermin, often by going into burrows. Dozens of breeds carry the name, and listings often use it for small to medium mixes with wiry or smooth coats.
That background shows up in everyday life in San Francisco. A terrier's busy nose and quick mind enjoy the city's hills, stairs and varied sidewalks, and many are affectionate, loyal and full of personality. They also tend to bark, dig and chase squirrels, so a secure leash matters. Size, coat and energy depend on ancestry, so watch how the dog behaves rather than relying on the label.