How to find out macOS version information from Terminal command prompt

You can find the version of macOS installed on your Mac from the Terminal command prompt by using the sw_vers command. Here’s how: Open Terminal. Type the following command and press Enter: sw_vers This will display the version of macOS installed on your Mac, including the ProductName, ProductVersion, and BuildVersion. For example: ProductName: Mac OS … Read more

How to install Composer on Debian / Ubuntu Linux

Composer is a dependency manager for PHP, which helps you manage the packages and libraries required for your PHP projects. Here’s how to install Composer on Debian or Ubuntu Linux: Open a terminal window. Download the Composer installer script by running the following command: curl -sS https://getcomposer.org/installer | php Move the composer.phar file to a … Read more

How to Force Apache To Show a HTTP-410 Gone Status Code

To force Apache to show a HTTP-410 Gone status code, you need to add a custom error response in your Apache configuration file. Here’s how to do it: Open the Apache configuration file, usually located at “/etc/httpd/conf/httpd.conf” or “/etc/apache2/httpd.conf”, using a text editor as root or using sudo. Add the following line inside the VirtualHost … Read more

How To Read CPUID Instruction For Each CPU on Linux With x86info and cpuid Commands

The “x86info” and “cpuid” commands are tools in Linux that allow you to read the CPUID information for each CPU in your system. Here’s how to use them: Using “x86info”: Open a terminal window. Run the following command to display information about your CPU using “x86info”: x86info -a This will show you a list of … Read more

How to secure and lock down Apple OS X 10.11 (El Capitan) with osxlockdown

“osxlockdown” is a third-party security tool that can be used to secure and lock down Apple OS X 10.11 (El Capitan) systems. It provides various options for securing and hardening the OS X operating system, such as disabling automatic login, limiting access to the terminal, and setting strict permissions for system files and directories. Here’s … Read more