0

how would you store a file using a cat command in a file, say $ENTRY "Input Text $ENTRY cat > $ENTRY /home/me/input_text

closed as unclear what you're asking by Thomas Ward, Pilot6, David Foerster, Eric Carvalho, mikewhatever Feb 20 '16 at 7:12

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 2
    What exactly you're trying to do ? Variables aren't the best way to store large quantity of text – Sergiy Kolodyazhnyy Feb 18 '16 at 14:38
1

cat is the wrong tool for the job. cat is for reading files. You want echo $ENTRY > file.

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