title: bash: trying to to run a command that open xterm and then change the directory
body: <p>I'm trying create a command to open xterm and then change the directory that shows xterm by default.</p>
  
  <p>I'm pressing Alt+F2 and then i run <code>xterm | cd /home/tirengarfio/Music</code>, but it doesn't change the directory...</p>
  
  <p>I know that i could change the default directory that xterm shows by default, but I'm interested in do it dynamic: this time I want to go Music but the next time I will be interested in another folder..</p>
  
  <p>Any idea?</p>