Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm running this command when setting up new ubuntu servers

sudo add-apt-repository ppa:nginx/stable

Is there a command I can run that will show that I've run this command and added ppa:nginx/stable as a repository?

share|improve this question

1 Answer 1

cat /etc/apt/sources.list /etc/apt/sources.list.d/*

Should do the trick.

share|improve this answer
+1, but I feel like there should be a command designed to do this, so I'm going to wait to see what else comes in before accepting. Thanks. – Zach Jul 28 '11 at 14:51

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.