title: How to run command from file using Bash?
body: <p>I want to write Bash script witch will allow me to run commands from a text file.</p>
  
  <p>In file will be special word: "secretcommand" and the proper command in next line.</p>
  
  <p>Example of text file:</p>
  
  <p><em>This is</em></p>
  
  <p><em>my</em></p>
  
  <p><em>secretcommand</em></p>
  
  <p><em>pwd</em></p>
  
  <p><em>bash</em></p>
  
  <p><em>script</em></p>
  
  <p>Now I want in my script to find a "secretcommand". I wanted to use grep -n so I could get the line of this word and then somehow add + 1 to that line so I get number of next line where is proper command. And finally I want to run this command. I wanted use sed -f but it wasn't workin or I'm doing something wrong.</p>
  
  <p>Can you help me please?</p>