title: Bash script to take screenshot and save the image - Ubuntu
body: <p>I wrote a bash script as below:</p>
  
  <pre><code>#!/bin/bash
  echo "Enter a file name"
  read filename
  import -window root $HOME/Desktop/$filename.png
  </code></pre>
  
  <p>I expected this script to take a screen shot and save the image with the given filename on m desktop....</p>
  
  <p>Problem: My ubuntu terminal is giving error. import: Command Not Found</p>