Guides
How website valuation actually works, what traffic estimates can and cannot tell you, and which once-standard metrics have quietly stopped existing.
Unix / Linux: Tar Command Remove a Directory From a Tar Ball
To remove a directory from a tar ball in Unix/Linux using the tar command, you can use the --exclude option to exclude the directory from the archive. Here's how to do it:rn rn Open the terminal and navigate to the directory where the tar ball is located. rn Use the tar command with the --exclude op
Redhat Linux: Find Out My IP Address
To find out your IP address in Red Hat Linux, you can use the following command:rn rn rn ip addr show rn rn rnThis will display the network interfaces available on your system, along with their corresponding IP addresses. Look for the IP address listed under the interface that is currently connected
libglade-WARNING **: could not find signal handler ‘gpass_authentication_on_response’ Error and solution
The "libglade-WARNING **: could not find signal handler ‘gpass_authentication_on_response’" error occurs when the libglade library cannot find the signal handler for a particular function, in this case 'gpass_authentication_on_response'. This can happen if the signal handler function is not defined
Apple Mac OS X Open And View .chm File
To open and view .chm files on Apple Mac OS X, you can use a third-party tool such as the Chmox application. Here are the steps to install and use Chmox:rn rn Download Chmox: You can download Chmox from various sources on the internet. One reliable source is MacUpdate ( https://www.macupdate.com/app
Linux: Parse an IP Address
In Linux, you can parse an IP address using various command-line tools like awk , sed , or cut . Here are a few examples:rn Using awk rnYou can use awk to parse an IP address from a file or output by specifying the field separator as a dot ( . ). For example, if you have a file called ip.txt contain
Iptables: Invert IP, Protocol, Or Interface Test With !
In iptables , you can invert or negate a test for IP address, protocol, or interface using the ! symbol. This is useful if you want to match all traffic except for a particular condition. Here are a few examples of using the ! symbol in iptables : n Invert IP Test n You can invert the IP test to mat
HowTo: Use Oracle / MySQL SQL Commands In UNIX Shell Scripts
You can use Oracle/MySQL SQL commands in UNIX shell scripts by using the sqlplus or mysql command-line utilities. These utilities allow you to execute SQL commands from a shell script and get the output back into the script for further processing. Here's an example of using sqlplus to execute a s
Bash: Continue In a For / While Loop
In Bash, you can use the continue statement to skip the current iteration of a loop and move on to the next iteration. This is useful if you want to skip certain items in a loop that meet a particular condition, for example. Here's an example of using continue in a for loop:rn rn rn for i in {1..
HowTo: Display / Echo Path Settings In Linux / UNIX / *BSD
To display or echo the PATH environment variable in Linux/UNIX/*BSD, you can use the echo command in the terminal. The PATH variable contains a colon-separated list of directories that the system searches for executables. Here are the steps to display the PATH variable:rn rn Open a terminal windo
Linux: Change the PATH [ Add New Directory ]
To add a new directory to the PATH environment variable in Linux, you can follow these steps:rn rn Open a terminal window. rn Check your current PATH by running the following command:rn rn rn echo $PATH rn rn rnThis will display a list of directories separated by colons. These directories are search
mod_extforward: Lighttpd Log Clients Real IP Behind Reverse Proxy / Load Balancer
When you use a reverse proxy or load balancer with Lighttpd, the IP address of the client may be hidden or obscured in the server logs. To log the real IP address of the client, you can use the mod_extforward module in Lighttpd. Here's how to configure mod_extforward to log the real IP address of
Debian / Ubuntu Linux: Install and Configure snmpd Service
SNMP (Simple Network Management Protocol) is a protocol used for network management and monitoring. You can install and configure the SNMP daemon ( snmpd ) service on a Debian or Ubuntu Linux system to monitor various aspects of the system's performance, such as CPU usage, memory usage, and network
Linux iptables: Port Redirection Example
Port redirection (also known as port forwarding) is a useful technique for redirecting traffic from one port to another on a Linux system using the iptables firewall. Here's an example of how to set up port redirection using iptables . Let's say you have a web server running on port 8080, but you
HowTo: Check RAM Size In Ubuntu Linux
To check the amount of RAM installed on your Ubuntu Linux system, you can use the free command. Here's how:rn rn Open a terminal window by pressing Ctrl+Alt+T on your keyboard. rn Type the following command and press Enter:rn rn rn free -hrn rn rnThe -h option will display the output in a human-read
Find Ram Size in Linux Using free And top Commands
You can find the amount of RAM installed on your Linux system using the free and top commands. Method 1: Using the free command The free command displays information about the system's total and used memory (both RAM and swap space). To view the RAM size in kilobytes, megabytes, or gigabytes, use
Linux Create Software RAID 1 (Mirror) Array
In Linux, you can create a software RAID 1 (mirror) array using the mdadm utility. Here are the steps to create a RAID 1 array:rn rn Check the current disk configuration using the fdisk command:rn rn rn # fdisk -l rn rn rn Partition the disks that will be used in the RAID array using the fdisk comma
Shutdown Linux Server Command
To shut down a Linux server, you can use the shutdown command. This command sends a message to all logged-in users, gives them a grace period to save their work, and then shuts down the system. To shut down the system immediately, you can use the following command as the root user:rn rn rn # shut
Debian / Ubuntu Record Boot Messages
By default, Debian and Ubuntu record boot messages to the system log. The system log is stored in the file /var/log/syslog and contains messages from the kernel and other system services. To view the boot messages in Debian or Ubuntu, you can open a terminal window and type the following command:
Linux fdupes: Get Rid (Delete) Of Double Duplicate Files In Directory
fdupes is a Linux utility that helps you to find and list duplicate files in a directory. You can use fdupes to find and remove duplicate files to free up disk space. To get rid of double duplicate files in a directory using fdupes , follow these steps:rn rn Install fdupes if it's not already ins
Unix / Linux: Save Output To File
In Unix/Linux, you can easily save the output of a command or script to a file using the ">" or ">>" operator. The ">" operator redirects the standard output of a command to a file, overwriting the file if it already exists. The ">>" operator appends the output to the end of the fi
2,685 guides published.
