title: How to edit the content of an application.properties or application.yml file inside an existing jar on a remote Linux server
body: <p>How to edit a property file (like <code>application.properties</code>) inside of an existing jar file on a remote Linux server.</p>
  
  <p>Imagine the jar is located in <code>/home/user/my-spring-boot.jar</code> and I like to change the username inside of <code>application.propertires</code> from</p>
  
  <pre><code>username=foo
  </code></pre>
  
  <p>to</p>
  
  <pre><code>username=bar
  </code></pre>
  
  <p>How to open the file and change the property?</p>