Guides
How website valuation actually works, what traffic estimates can and cannot tell you, and which once-standard metrics have quietly stopped existing.
HowTo Install firefox-4.0.tar.bz2 in Linux
To install firefox-4.0.tar.bz2 on Linux, follow these steps: n n Download the firefox-4.0.tar.bz2 archive file to your system by using wget or another method. n Extract the archive file: n n n n tar xvjf firefox-4.0.tar.bz2 n n n n Change into the extracted directory: n n n n cd firefox n n n n Run
Python Run External Command And Get Output On Screen or In Variable
To run an external command from a Python script and capture its output, you can use the subprocess module. The subprocess module provides a convenient and flexible way to interact with the shell and run shell commands from your Python code. Here's an example of how to run a shell command and capt
How To Install Ports on FreeBSD 10/11/12/13/14
The "ports" system in FreeBSD is a collection of scripts and makefiles that automate the process of downloading, building, and installing third-party software. To install ports in FreeBSD, follow these steps:rn rn Make sure that you have the necessary dependencies installed, such as the GCC compiler
Install Iptables Firewall in Redhat / CentOS Linux
To install iptables firewall on Redhat or CentOS Linux, you need to use the following steps:rn rn Install iptables package: rn rn rn rn $ sudo yum install iptables-servicesrn rn rn rn Enable iptables service at boot time: rn rn rn rn $ sudo systemctl enable iptables rn rn rn rn Start iptables servic
Apple OS X Lock Desktop / Screen
To lock the desktop or screen on an Apple OS X system, you can use the following steps:rn rn Go to the Apple menu in the upper left corner of the screen and select "Sleep." rn To lock the screen immediately, press "Control + Shift + Power" button or "Control + Shift + Eject." rn You can also use the
Linux / Unix: Look Up IP Addresses
You can use the nslookup command in Linux/Unix to look up IP addresses. The nslookup command can be used to find the IP address of a domain name or the domain name of an IP address. n For example, to look up the IP address of a domain name, run the following command: n n n nslookup example.com n n n
How to Set Environment Variables in Linux
Environment variables are values that can affect the way running processes will behave on a computer. In Linux, you can set environment variables in several ways, including in the shell profile or startup script, or in the shell itself. Here are the steps to set an environment variable in the she
Linux: Rename Expression To Remove First Character From a File Name
To remove the first character from a file name in Linux, you can use the 'rename' command with a regular expression (regex) pattern. The 'rename' command can be used to modify the names of multiple files at once based on a pattern. Here's an example that removes the first character from all file
MySQL: Connect From an Other System / Computer
To connect to a MySQL database from a remote system or computer, you'll need to perform the following steps:rn rn Ensure that the remote system has access to the database server: The database server must be configured to allow connections from the remote system. The server's firewall and security ru
HowTo: Convert Between Unix and Windows text files
When converting between Unix and Windows text files, you need to consider the differences in the line endings used by each system. Unix uses a line ending of a single line feed character (LF), while Windows uses a combination of a carriage return (CR) and a line feed (LF) character (CRLF). n Here ar
Linux / UNIX: See If Particular Users Are Logged Into Server
You can use the who command to see if particular users are logged into the server. The who command will display information about users who are currently logged into the system, including their username, terminal, and the time they logged in. For example: n n n $ who nuser1 tty1 2021-02-11 08:30 nus
Bash Pass Shell Variables To Awk Script
To pass shell variables to an awk script in Bash, you can use the -v option of the awk command. The -v option allows you to pass shell variables to awk. Here's an example of using the -v option to pass a shell variable to an awk script:rn rn rn #!/bin/bash # Define the shell variable rnstrin
grep Command Tutorial For Ubuntu / Debian Linux
The grep command is a powerful tool in Linux that allows you to search for text patterns in files and output the lines that match the pattern. It is widely used by system administrators and developers for various tasks such as log analysis, code debugging, and searching for information in large data
Use wget Command To Download Files From HTTPS Domains
The wget command can be used to download files from HTTPS domains. By default, wget will automatically verify the SSL certificate of the HTTPS site you're downloading from, and will only download files if the certificate is valid. To download a file from an HTTPS site, simply specify the URL of t
Ubuntu: Mount The Drive From Command Line
To mount a drive from the command line in Ubuntu, you can use the mount command. The basic syntax is:rn rn rn mount DEVICE MOUNTPOINTrn rn rnWhere DEVICE is the name of the device you want to mount, and MOUNTPOINT is the location where you want to mount the device. For example, to mount a device
Ubuntu Linux Stop a Process
To stop a process in Ubuntu Linux, you can use the kill command in the terminal. The basic syntax is:rn rn rn kill PIDrn rn rnWhere SIGNAL is the signal you want to send to the process, and PID is the process ID of the process you want to stop. By default, the kill command sends the SIGTERM signal,
Linux Static IP Address Configuration
To configure a static IP address in Linux, you will need to edit the network configuration files. The exact steps you need to take depend on the distribution you're using, but in general, you will need to edit the configuration file for the network interface you want to configure, such as eth0 or wl
Linux Install an RPM File
To install an RPM file on a Linux system, you can use the rpm command. The rpm command is used for managing RPM packages, which are a type of package format used by Red Hat-based distributions such as Red Hat Enterprise Linux (RHEL) and Fedora. Here's how to use the rpm command to install an RPM
Linux: Determine the Manufacturer of a PCI Device
To determine the manufacturer of a PCI device on a Linux system, you can use the lspci command. The lspci command provides information about PCI buses and devices in a system. n Here’s how to use the lspci command to determine the manufacturer of a PCI device: n n Open a terminal window. n Typ
FreeBSD Jail Allow Sound And Flash Access
To allow sound and flash access in a FreeBSD jail, you need to configure the jail to have access to the appropriate devices and create symlinks to the appropriate sound and flash devices. Here's how to do this:rn rn Create a new directory in the jail to mount the necessary devices: rn rn rn mkdir
2,685 guides published.
