By means of muon spin rotation and relaxation (µ + SR) techniques, we have investigated the magnetism of quasi one-dimensional (1D) cobalt oxides AEn+2Con+1O3n+3 (AE=Ca, Sr and Ba, n=1, 2, 3, 5 and ∞), in which the 1D CoO3 chain is surrounded by six equally spaced chains forming a triangular lattice in the ab-plane, using polycrystalline samples, from room temperature down to 1.8 K. For the compounds with n=1 -5, transverse field µ + SR experiments showed the existence of a magnetic transition below ∼100 K. The onset temperature of the transition (T on c ) was found to decrease with n; from 100 K for n=1 to 60 K for n=5. A damped muon spin oscillation was observed only in the sample with n=1 (Ca3Co2O6), whereas only a fast relaxation obtained even at 1.8 K in the other three samples. In combination with the results of susceptibility measurements, this indicates that a two-dimensional short-range antiferromagnetic (AF) order appears below T on c for all compounds with n=1 -5; but quasi-static long-range AF order formed only in Ca3Co2O6 , below 25 K. For BaCoO3 (n=∞), as T decreased from 300 K, 1D ferromagnetic (F) order appeared below 53 K, and a sharp 2D AF transition occurred at 15 K.