Skip to content

Instantly share code, notes, and snippets.

@sudhakar6
Created December 31, 2022 15:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sudhakar6/e38736d2ed58c9fa970f8af54f3b2f1c to your computer and use it in GitHub Desktop.
Save sudhakar6/e38736d2ed58c9fa970f8af54f3b2f1c to your computer and use it in GitHub Desktop.
You can use cmmand+ to increase size and font of terminal
https://www.youtube.com/watch?v=iFvXNfFE_IE
To clear : Command+K or clear (When you click command K it completely erases but when you use "clear" it just scriolls up), command+l (it just clears the previous command we used)
To check software version type: sw_vers
To know even more details: system_profiler (it gives you lots of information, that you can't even read
To go to the granualar level of system usage caommand: system_profiler -usage (it gives different commands and it's uage)
To use a specific types which is given by above command: system_profiler -listDataTypes (which gives all the data types)
To find is there any software to update: softwareupdate -l
To monitor network connections: nettop (press q to come out of that window)
To monitor the tcp netowrk connections: nettop -m tcp (it shows all the connections using tcp)
To find out disk utility: diskutil list
To find out size of any folder or file: du -sh #pathofthefile(you can also drag it), ls -lha
To make to read what you type: say sudhakar(it reads it sudhakar when you want to keep that window just type 'say' and hit enter than write whatever you want). Hit control+c to come out of that window.
To pick a specipic voice to talk to you: say -v "?" (it shows list of voices that you can pick) say -v Lekha hi medhaa good morning (here Lekha is voice name)
To open a path in finder:open /Users/foldername
To see the commands you ran: history
Advanced macOS Tricks and Utilities Using Terminal!
https://www.youtube.com/watch?v=Ym2pxzWpTNw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment