The commands of the given operations are as follows:
a) To save a new file- ‘Save As’ option from the ‘File’ in the menu bar.
Shortcut key: CTRL + Shift + S
b) To save an existing file- ‘ Save’ option from the ‘File’ in the menu bar.
Shortcut key: CTRL + S
The current file name is retained in this case.