How To Find the WiFi Password on Mac OS X

To find the WiFi password on Mac OS X, follow these steps: Open the Keychain Access application, which can be found in the Applications > Utilities folder. Search for the network name in the search bar and select the network from the list. Right-click (or Control-click) on the network name and select “Get Info”. In … Read more

Debian 8 and Ubuntu 14.04 LTS Install Suhosin PHP Extension To Protect Your Server

To install the Suhosin PHP extension on Debian 8 and Ubuntu 14.04 LTS, you need to perform the following steps: Add the PPA repository for Suhosin: sudo add-apt-repository ppa:ondrej/php Update the package list: sudo apt-get update Install the Suhosin extension: sudo apt-get install php-suhosin Restart the Apache web server: sudo service apache2 restart Verify the … Read more

How To: Temporarily Clear Bash Environment Variables on a Linux and Unix-like System

You can temporarily clear environment variables in the Bash shell on a Linux or Unix-like system by using the following command: env -i bash –norc –noprofile This will start a new instance of the Bash shell with a clean environment, without any environment variables set. The -i option specifies that the environment should be cleared, … Read more

How To Ubuntu Linux Firewall Open Port Command

In Ubuntu, you can use the ufw (Uncomplicated Firewall) tool to open a specific port. Here’s how: Install ufw if it’s not already installed: sudo apt-get update sudo apt-get install ufw Enable the firewall: sudo ufw enable Allow incoming traffic on the desired port: sudo ufw allow port_number Replace port_number with the actual port number … Read more

How to make a folder in Linux or Unix

To make a folder (also known as a directory) in Linux or Unix, use the mkdir command. For example: mkdir folder_name This will create a new folder named folder_name in the current working directory. You can also specify the path where you want to create the folder. For example: mkdir /path/to/folder_name Note: Replace folder_name and … Read more

How To Find My Public IP Address From Linux CLI

Here are a few ways to find your public IP address from the Linux command line interface (CLI): Use curl: curl ifconfig.co Use dig: dig +short myip.opendns.com @resolver1.opendns.com Use wget: wget -qO- http://ipecho.net/plain Use ip command: ip addr show dev eth0 | grep ‘inet ‘ | awk ‘{print $2}’ | cut -d/ -f1 Note: Replace … Read more

How To Join Several Partition Together To Form a Single Larger One On a Linux Using mhddfs

Here are the steps to join several partitions together to form a single larger one on a Linux using mhddfs: Install mhddfs: sudo apt-get install mhddfs Create a directory to mount the combined partitions: sudo mkdir /mnt/combined Mount the partitions using mhddfs: sudo mhddfs /path/to/partition1,/path/to/partition2 /mnt/combined Note: Replace /path/to/partition1 and /path/to/partition2 with the actual paths … Read more