Executing shell command using the whole buffer