This community-built FAQ covers the “Environment” exercise from the lesson “Environment”.
Paths and Courses
This exercise can be found in the following Codecademy content:
Learn the Command Line
FAQs on the exercise Environment
Join the Discussion. Help a fellow learner on their journey.
Ask or answer a question about this exercise by clicking reply () below!
Agree with a comment or answer? Like () to up-vote the contribution!
Need broader help or resources? Head here.
Looking for motivation to keep learning? Join our wider discussions.
Learn more about how to use this guide.
Found a bug? Report it!
Have a question about your account or billing? Reach out to our customer support team!
None of the above? Find out where to ask other questions here!
If I want to update a word document from the command line, how can I do it?
I get only hieroglyphics.
A Word document is a bit much to be editing from the command line. If we were to access the wrapping XML document using plain text you could feasibly edit the document content, but who would ever try to do that? And how would we access the wrapper, to begin with?
Then again, who knows? If we have a Word document, then it follows we have Word on our machine.
.docx opens in Word on a single click.
Alright, and how about a PDF document?, I mean, it would be easier to just open the terminal and modify it instead of opening word, wait for it to load, open the document, modify it and save it again.
Those two mediums are heavily proprietary. MS with its XML wrapper, PDF with its POSTSCRIPT wrapper. They are recognized document formats because of all they have invested in making theirs the de facto in each respect. The least we can do is use their software to manipulate the documents.
Hello, do you know any company that has to do with the construction of environmental codes?