How to update drupal 7 with drush

In order to update drupal with drush use the next command

 

Command

drush up

Sample

username@localhost [~/www]$ drush up

 

In order to update only the core

 

Command

drush up drupal

Sample

username@localhost [~/www]$ drush up drupal