Pressing the CTRL + W button together will shorten your work to save documents and close the application at once. This hotkey is widely used on Windows operating systems and UNIX bistros, such as Linux.
But please note, the effect of the CTRL W combination key operation is not only influenced by the operating system. Applications / programs and process localization can also affect what CTRL W does.
What Does CTRL W Do in Windows?
The CTRL W key combination that works on the Windows operating system has a function to save and close the currently active application on the screen.
Almost all applications that run on the Windows operating system have this condition when pressed the CTRL + W button.
For example, the Microsoft Excel application, by pressing CTRL W in Excel then the document that you have created will be saved and the application will be closed at once. For other applications running on Windows, it’s also the same.
But please note, if you have never saved a document that has been created, then you will be asked to save before continuing to close the application. Once you have saved it, the application will automatically close immediately.
So, once in a while you need to try to press this combination button and see the effect it has on applications and documents that you create in Windows.
What Does CTRL W Do in UNIX Bistro?
Unlike in Windows, the effect that is given by the CTRL W key combination in the UNIX bistro doesn’t close the application.
CTRL + W on UNIX is widely applied to word processing applications. When you press the CTRL W hotkey on an application running on the UNIX bistro, the last word you type will be deleted. This is almost similar to the CTRL Z function in Windows.
Okay, please try and hopefully useful!