Save JSON file and quit code editor on MacOS laptop

Avinash Arora 0 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 Training
Azure Training
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Training: Instruction to develop new skills.
1,523 questions
0 comments No comments
{count} votes

Accepted answer
  1. Pradeep M 2,450 Reputation points Microsoft Vendor
    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.