Bash script to take screenshot and save the image - Ubuntu

view story

http://askubuntu.com – I wrote a bash script as below: #!/bin/bash echo "Enter a file name" read filename import -window root $HOME/Desktop/$filename.png I expected this script to take a screen shot and save the image with the given filename on m desktop.... Problem: My ubuntu terminal is giving error. import: Command Not Found (HowTos)