Save JSON file and quit code editor on MacOS laptop

Avinash Arora 40 Reputation points
2024-09-18T11:01:26.2966667+00:00

Hi, I am in middle of training and working on sandbox exercise. There is a need to save JSON file and quit code editor on powershell window. training instructions says to use CTRL+S (to save) and CTRL+Q to quit code editor. I doubt if the keys will be similar on Mac laptop.

Please help me with equivalent keys for Mac.

This question is related to the following Learning Module

Azure Azure Training
0 comments No comments
{count} votes

Accepted answer
  1. Pradeep M 9,765 Reputation points Microsoft External Staff Volunteer Moderator
    2024-09-18T12:05:00.17+00:00

    Hi Avinash Arora,

    Thank you for reaching out to us on the Microsoft Q&A forum.

    On a Mac laptop, the key combinations differ from Windows. Here’s what you can use:

    To save a file: Command + S

    To quit the application or editor: Command + Q

    If you’re using a terminal-based text editor like nano, you can use CTRL + X to exit.

    These shortcuts should work in most graphical code editors like Visual Studio Code or others. If you’re using a different editor, you might need to check its specific documentation for the correct shortcuts.

    If these steps are helpful, please click "Upvote" and "Accept Answer" on this post. 

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.