Taking an webcam image from the command line

fswebcam -r 960x720 --jpeg 95 -D 1 web-cam-shot.jpg