Guides
How website valuation actually works, what traffic estimates can and cannot tell you, and which once-standard metrics have quietly stopped existing.
UNIX: Lynx Browser Set / Change the Default Home Page
The default home page for Lynx browser can be set by editing the Lynx configuration file located at ~/.lynxrc or /etc/lynx.cfg . To set the default home page, open the configuration file in a text editor and add the following line:rn rn rn homepage : http : //www.example.com/ rn rn rnReplace http
Bash Remove Last Character From String / Line / Word
In bash, you can remove the last character from a string, line, or word using the following syntax:rn rn rn string= "your_string" rnnew_string= "${string%?}" rn rn rnThe % operator is used to remove the shortest matching pattern from the end of the string. The ? pattern matches any single character,
UNIX / Linux: Increment The Date
rn rn rn rn rn In Unix-like operating systems, you can increment the date by using the date command and the -d option. The -d option allows you to specify a date offset, which is used to add or subtract days, weeks, or months from the current date. Here's an example of how you can increment t
HowTo: UNIX Set Date and Time Command
In Unix-like operating systems, the date and time can be set using the date command. To set the date and time, you need to have superuser privileges. n Here’s the basic syntax for setting the date and time using the date command: n n n sudo date -- set = "YYYY-MM-DD HH:MM:SS" n n n Replace YYY
Linux Rename File Command
The mv command is used to rename files in Linux. The basic syntax is:rn rn rn mv rn rn rnFor example, to rename the file oldfile.txt to newfile.txt , you would run the following command:rn rn rn mv oldfile.txt newfile.txtrn rn rnNote that the mv command can also be used to move files from one direct
Ubuntu Linux Add a User To Group www-data ( Apache Group )
To add a user to the www-data group (Apache group) in Ubuntu, you can use the following steps:rn rn Open a terminal window. rn Use the adduser command to add the user to the www-data group: rn rn rn rn sudo adduser www-datarn rn rnReplace with the actual username of the user you want to add to the g
Mount CD-ROM in Linux
To mount a CD-ROM in Linux, you need to perform the following steps:rn rn Insert the CD-ROM into your CD/DVD drive. rn Create a mount point directory, which is the directory where the CD-ROM will be accessible. For example: rn rn rn rn mkdir /mnt/cdromrn rn rn rn Use the mount command to mount the C
Use export Command in Linux / Unix
The export command is used in Linux/Unix to set environment variables, which are used to store values that can be referenced in various shell commands and scripts. To set an environment variable using export , simply type the following in your terminal:rn rn rn export VARNAME =valuern rn rnReplac
Ubuntu Linux: Show Gnome Version
To show the version of Gnome on an Ubuntu Linux system, you can use the following command:rn rn rn gnome-shell --version rn rn rnThis will display the version number of the Gnome shell, which is the graphical user interface component of the Gnome desktop environment. For example:rn rn rn GNOME Shell
ifconfig Command Does Not Show IPv4 Address on Linux
If the ifconfig command does not show the IPv4 address on your Linux system, there are several potential reasons for this:rn rn The network interface is down: Try running the following command to bring up the network interface: rn rn rn rn sudo ifconfig < interface > uprn rn rnReplace <inte
RHEL 6/7/8 – semanage SELinux Command Not Found
The semanage command is part of the SELinux management tools package, which is not installed by default on Red Hat Enterprise Linux (RHEL) 6/7/8 systems. To install it, you need to run the following command as root or with sudo privileges:rn rn rn yum install policycoreutils-pythonrn rn rnAfter the
RHEL 6: Change OpenSSH Port To 1255 ( SELinux Config )
To change the OpenSSH port on Red Hat Enterprise Linux 6 (RHEL 6) with SELinux enabled, you need to perform the following steps:rn rn Edit the OpenSSH configuration file: rn rn rn rn sudo vi /etc/ssh/sshd_configrn rn rn rn Find the line that starts with Port and change it to the desired port number.
Linux: /usr/bin/ld: cannot find -lc Error and Solution
The error message " /usr/bin/ld: cannot find -lc " usually occurs when the linker is unable to find the standard C library libc.so while compiling a program. This can happen if the library is not installed on your system or if the linker is not able to find it in the default library search path.
Ubuntu Linux Configure Fingerprint reader on ThinkPad/Dell/Toshiba Laptops
The process for configuring a fingerprint reader on a ThinkPad, Dell, or Toshiba laptop running Ubuntu Linux can vary depending on the specific model of the laptop and the type of fingerprint reader it uses. In general, however, the following steps can be used as a guide to configure the fingerprint
Linux: TMOUT To Automatically Log Users Out
The TMOUT variable in Linux is used to automatically log out users after a specified period of time if they have been inactive. To set this variable, you can add the following line to your .bashrc file or a global shell configuration file:rn rn rn TMOUT=600rn rn rnThe value 600 specifies the number
How to save existing file to a new file (save as) in vi / vim
In the vi or vim text editor, you can save the existing file to a new file (also known as "save as") by using the following steps:rn rn Start vi or vim and open the file that you want to save as a new file. rn Enter :w to write (save) the file to disk. rn Enter :w newfilename to write (save) the fil
Linux / UNIX: Run Command a Number of Times In a Row
There are several ways to run a command a specified number of times in a row in Linux/Unix. Here are some of the most common methods:rn rn for loop: rn rnYou can use a for loop to run a command a specified number of times. For example, to run the ls command 5 times, you can use the following script:
Redhat / CentOS Install whois client
The whois client is a tool used to look up information about domain names, IP addresses, and other internet-related information. To install the whois client on Red Hat Enterprise Linux or CentOS, you can use the yum package manager. Here are the steps to install the whois client:rn rn Update your pa
HowTo: Upgrade Red Hat Enterprise Linux 6 to to v6.1
Upgrading Red Hat Enterprise Linux 6 to version 6.1 can be a complex process, as it involves updating the operating system, as well as any installed applications and custom configurations. Here are the steps to upgrade Red Hat Enterprise Linux 6 to version 6.1:rn rn Check the current version of your
Find out what processes are running in the background on Linux
You can find out what processes are running in the background on Linux by using the ps command or the top command. n n ps command: n n The ps command allows you to see the processes that are currently running on the system. To see all processes, run the following command: n n n ps aux n n n This wil
2,685 guides published.
