To change your screenshot format (jpg, tiff, png, and pdf are all supported, with png being the default.)
defaults write com.apple.screencapture type PDF
To take a screenshot of the entire screen
Command+Shift+3
To take a screenshot of a portion of the screen
Command+Shift+4