Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I don't like big text configuration files. So, I would like to split my rc.xml file into multiple files:

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Why don't you just split it in the files you propose and then just cat them all together?

cat rc-something.xml rc.keyboard.xml rc.mouse.xml > rc.xml

The only problem is that you will need to cat them each time you modify one of the individual files, but that should be trivial..

share|improve this answer
Unfortunately, this is the only way yet :/ –  Miro May 28 '12 at 16:19

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.