Guides
How website valuation actually works, what traffic estimates can and cannot tell you, and which once-standard metrics have quietly stopped existing.
Use wget with Squid Proxy Server
The wget command-line utility can be used with a Squid proxy server by setting the http_proxy environment variable. Here's an example of how to use wget with a Squid proxy server:rn rn rn http_proxy=http://squid-proxy-server-address:port wget http://example.com/file.ziprn rn rnReplace squid-proxy
UNIX Disk Usage Command Examples
There are several commands you can use in Unix to view disk usage information, including: n n df : The df command displays information about disk space usage on your file system. By default, df shows disk usage information for all mounted file systems. n n Here’s an example of how to use df :
HowTo: UNIX / Linux Open TCP / UDP Ports
In Unix or Linux, you can open TCP and UDP ports using the iptables command. iptables is a command-line firewall utility that allows you to manage the firewall rules on your system. Here's an example of how to open a TCP port (e.g., port 80) using iptables :rn rn rn sudo iptables - A INPUT - p tc
HowTo: Find Symlink under UNIX / Linux
To find symbolic links (symlinks) in Unix or Linux, you can use the find command in combination with the -type option. The -type option allows you to search for specific types of files, including symbolic links. Here's the basic syntax for finding symlinks:rn rn rn find / path /to/search - type l
Disable / Turn Off Firewall in Ubuntu Linux Server
In Ubuntu Linux, the firewall is managed by the UFW (Uncomplicated Firewall) service. To disable the firewall, you can stop the UFW service and then disable it from starting automatically at boot time. Here's how you can disable the firewall in Ubuntu Linux:rn rn Stop the UFW service: rn rn rn rn
Linux Open .CBR (Comic Book Archive) File
To open .cbr files on Linux, you can use a variety of comic book reader applications such as:rn rn MComix: A user-friendly comic book reader that supports CBR, CBZ, and PDF files. rn QComicBook: A lightweight comic book reader that supports CBR, CBZ, and PDF files. rn Comix: A feature-rich comic boo
Change the Password in UNIX Command
To change the password in UNIX, you can use the passwd command in a terminal window. To change your own password, simply type passwd and press Enter. You will be prompted to enter your current password, followed by your new password and a confirmation of your new password. For example:rn rn rn
Linux / UNIX: Untar / Extract a .lzma Tar Ball
To extract a .lzma tar ball in Linux or Unix, you need to first install the lzma utility, which is used to decompress the .lzma file. Once the lzma utility is installed, you can extract the tar ball using the following command:rn rn rn lzma -dc filename.tar.lzma | tar -xf -rn rn rnHere, filename.
CentOS / RHEL: Install PostgresSQL Interface for Perl (perl-DBD-Pg)
To install the PostgreSQL interface for Perl (perl-DBD-Pg) on a system running CentOS or Red Hat Enterprise Linux, you can use the yum package manager. n First, make sure that the EPEL repository is enabled on your system. You can check if it is enabled by running the following command: n n n yum re
WordPress Install Memcached Object Cache Plugin To Speed Up Blog
To install the Memcached Object Cache plugin for WordPress and speed up your blog, you can follow these steps:rn rn Install the Memcached server on your web server if it's not already installed. You can use the following command to install Memcached on a system running CentOS or Red Hat Enterprise L
CentOS / RHEL Linux: Remove GDM
To remove the GDM (GNOME Display Manager) graphical login screen on CentOS or Red Hat Enterprise Linux, you need to uninstall the gdm package using the yum package manager. First, use the following command to check if GDM is installed:rn rn rn yum list installed | grep gdmrn rn rnIf the package i
OpenSSH Hide Version Number From Clients
The OpenSSH server can be configured to hide its version number from clients, making it more difficult for attackers to target known vulnerabilities in specific versions of the software. This can be done by editing the OpenSSH server configuration file, usually located at /etc/ssh/sshd_config . T
Grep From Files and Display the File Name On Linux or Unix System
You can use the grep command with the -H option to display the file name along with the matching lines. For example, to search for a pattern in multiple files and display the file name, you can run the following command:rn rn rn grep -H 'pattern' file1 file2 file3rn rn rnIn this example, pattern is
Mplayer: Play Audio CD Using Linux Command Line
To play an audio CD using the Linux command line with mplayer , you can use the following command: n n n mplayer cdda : // n n n This will launch mplayer and start playing the audio CD that is currently inserted in your CD drive. You can control playback using the standard mplayer controls, such as
yum update Linux Error: Missing Dependency: xen-libs
The error message “Missing Dependency: xen-libs” indicates that the package you are trying to install or update depends on another package called xen-libs but it is not installed on your system. n To resolve this issue, you need to install the xen-libs package. You can do this by running
HowTo: Linux Install LibreOffice
The process of installing LibreOffice on Linux depends on the specific Linux distribution you are using. Here are the steps for installing LibreOffice on some popular Linux distributions:rn rn Ubuntu: rn rn rn rn sudo apt - get update rnsudo apt - get install libreofficern rn rn rn Fedora: rn rn rn
UNIX / Linux: Shell Scripting With mail Command
The mail command in Unix/Linux can be used to send emails from the command line. Here's an example of how to use the mail command in a shell script:rn rn rn #!/bin/bash to= "recipient@example.com" rnsubject= "Test Email" rnmessage= "This is a test email sent from the shell script." echo " $
UNIX / Linux: awk Add Two Numbers
To add two numbers in Unix or Linux using awk , you can use the following command:rn rn rn awk 'BEGIN {print + }'rn rn rnReplace and with the two numbers you want to add. For example, to add the numbers 10 and 20 , you would use the following command:rn rn rn awk 'BEGIN {print 10 + 20}' rn rn rnThe
KVM Virtualization: Start VNC Remote Access For Guest Operating Systems
To start VNC remote access for a guest operating system in KVM virtualization, you need to follow these steps:rn rn Install a VNC server in the guest operating system: You need to have a VNC server installed in the guest operating system so that you can access it remotely. There are several VNC serv
nginx: Install GeoIP Module For Country / City Level Geo Targeting
To install the GeoIP module for country or city level geo-targeting in Nginx, you can follow these steps:rn rn Install the GeoIP library: You can install the library using your operating system's package manager. For example, on Ubuntu, you can use the following command: rn rn rn rn sudo apt- get in
2,685 guides published.
