I deleted the Apple menu (with "About this Mac") from my Mac's menu bar. As a result have no idea about what the Operating System is, how many gigs of ram it is running, etc.
How can I get the information I am looking for?
I deleted the Apple menu (with "About this Mac") from my Mac's menu bar. As a result have no idea about what the Operating System is, how many gigs of ram it is running, etc.
How can I get the information I am looking for?
You can go into → Applications → Utilities and open up System Information (or press Cmd + Spacebar to start Spotlight and just type System Information).
The System Information application will tell you all about the properties of your Mac, and also shows your missing "About this Mac" through menu Window, or by pressing Cmd + I.
The information available in About this Mac can also be found using the system_profiler command in Terminal.
system_profiler, run without any arguments, will take a while and probably output more information than you need. You can provide one or more datatypes as arguments to reduce the level of output to the information you need. Some examples related to your question are:
system_profiler SPSoftwareDataType will show you information about your Operating System, such as your current OS version.
system_profiler SPHardwareDataType will show you information about your hardware, such as how much RAM is installed.
You can optionally combine multiple datatypes in a single command to combine the output:
system_profiler SPSoftwareDataType SPHardwareDataType
To discover other available datatypes, system_profiler -listDataTypes will output a complete list.
Run man system_profiler for more detailed information on how to use this command.