2 of 2 edited body

Julia, 43 bytes

n->for i=[9:-1:2,3:9] println(base(i,n))end

This creates an unnamed function that accepts and integer and prints to STDOUT on separate lines. The base function takes two integers: a base (i) and a number (n) and returns the string representation of the number in the given base. Here we just loop through the required bases and print.