How many hours travel from guangzhou to Qingdao by train?

Only two trains are in service for the trip: G276/G277 and T161/T160. The former takes around 12.5h and the latter takes almost 29h.

I want to travel from linyi to shanghai
Is it possible by bus or by train and how long time take the travel and from any station to any station thanks

Both train and bus service is available. 
By train, there is only one train - K2502/K2503 operating this route! It takes you from Linyi Station to Shanghai Station, taking around 16h. 
By bus, you can take a direct long-distance bus at Linyi Bus Station. It takes around 8h to Shanghai and the bus fare is around CNY120 per person!