Or, can be used as a less intense or childish form of fubar.
user@localhost cd foo/bar
The server foobared again?
Most probably, "foo" and "bar" came from "foobar," which in turn had its origins in the military slang acronym FUBAR. The most common rendition is "Fucked Up Beyond All Recognition"