Take the 2-minute tour ×
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

I have some parameters that I would like to change in /etc/xdg/lxsession/LXDE/autostart, before it is run. I get the parameters from a grep command. I would like to feed them to the autostart file but am not sure how.

Currently, what I have is grep "stuff" /file/one which outputs 1234.

I want to put 1234 in the autostart file like

 @program 1234

Thank you.

share|improve this question

closed as off-topic by goldilocks Dec 21 '14 at 22:05

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question does not appear to be specific to the Raspberry Pi within the scope defined in the help center." – goldilocks
If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.