<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix"><b> In This line , if I understood
        correctly you are trying to append $oldline and $username both
        to smb.conf <br>
      </b><br>
      <b><b>echo $oldline && echo $username  >>
          /etc/samba/smb.conf<br>
          <br>
        </b>however, it will only append $username to smb.conf, you
        probably want to make it in two lines ,<br>
        eg. <br>
        <br>
      </b><br>
      <b><b>echo $oldline </b></b><b><b><b><b>>>
              /etc/samba/smb.conf</b></b> <br>
          echo $username  >> /etc/samba/smb.conf<br>
          <br>
        </b></b><b> or if you want them on the same line, you would have
        to combine the variables and echo new variable into the smb.conf<br>
        <br>
        newline=${oldline}${username}<br>
        echo $newline >> /etc/samba/smb.conf <br>
        <br>
        <br>
        Thank you<br>
        <br>
      </b>
      <div class="moz-signature"><b>Amit K Nepal<br>
          Infrastructure Engineer (RHCE, CCENT, C|EH, C|HFI)<br>
          <a href="http://www.omnovia.com">omNovia Technologies Inc.</a><br>
          <a href="http://www.amitnepal.com">Amit K Nepal</a><a
            href="http://www.amitnepal.com"><br>
          </a></b></div>
      On 7/25/2013 11:46 AM, Lisa Kachold wrote:<br>
    </div>
    <blockquote
cite="mid:CAEYqmRuS8L=fmYZJa3fod6wgX6V6RBu5LcT=DX62rbA8hkyvGQ@mail.gmail.com"
      type="cite"><b> echo $oldline && echo $username  >>
        /etc/samba/smb.conf</b></blockquote>
    <br>
  </body>
</html>