How to save macOS Terminal outputs as text file


If you want to save the output of all the commands and their results for the current session in a text file on the macOS, you can do that by simply pressing Command + S keys, this will open a prompt that will ask you where you want to save the file to.

You can achieve the same by going to the Terminal menu > Shell > Export text as... option.

If you do not want to save the complete text of the console, then just select the text you want to save and press Command + S or go to Menu > Shell > Export Selected text as...

macOS Terminal Export Text to File
macOS Terminal Export Text to File


Have Questions? Post them here!


















Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap