is barney in season 6 of andy griffith
Barney Fife Bernard "Barney" P. Milton Oliver Fife[nb 1] is a fictional character in the American television program The Andy Griffith Show, portrayed by comic actor Don Knotts. Barney Fife is a deputy sheriff in the slow paced, sleepy southern community of Mayberry, North Carolina. He appeared in the first five seasons (1960–65) as a main character, and, after leaving the show at the end of season five, made a few guest appearances in the following three color seasons (1965–68). He also appeared in the first episode of the spin-off series Mayberry R.F.D. (1968–1971), and in the 1986 reunion telemovie Return to Mayberry. Additionally, Barney appeared in the Joey Bishop Show episode, "Joey's Hideaway Cabin" and the first episode of The New Andy Griffith Show.
Gomer Pyle, U.S.M.C. Gomer Pyle, U.S.M.C.[fn 1] is an American situation comedy that originally aired on CBS from September 25, 1964, to May 2, 1969. The series was a spin-off of The Andy Griffith Show, and the pilot episode was aired as the season finale of the fourth season of its parent series on May 18, 1964. The show ran for a total of 150 half-hour episodes spanning over five seasons, first in black-and-white for the first season, and then in color for the remaining four seasons. In 2006, CBS Home Entertainment (distributed by Paramount) began releasing the series on DVD. The final season was released in November 2008.