Guides
How website valuation actually works, what traffic estimates can and cannot tell you, and which once-standard metrics have quietly stopped existing.
How to list, display and view all cron jobs in Linux
To list, display, and view all cron jobs in Linux, you can use the following methods:rn rn List all cron jobs for the current user: rn rnTo list all the cron jobs that are scheduled for the current user, use the following command:rn rn rn crontab -lrn rn rnThis will display the list of all the sched
How To Clear Shell History In Ubuntu Linux
To clear the shell history in Ubuntu Linux, you can follow these steps:rn rn Open a terminal window. rn To clear the entire shell history, use the following command: rn rn rn rn history -crn rn rnThis will clear all the commands from the history file.rn rn If you want to clear a specific command fro
FreeBSD Install DJBDNS Server
To install the DJBdns server on FreeBSD, you can follow these steps:rn rn Update the FreeBSD package repository by running the following command: rn rn rn rn sudo pkg update rn rn rn rn Install the daemontools package, which provides the svscan command required to start the DJBdns service: rn rn rn
Varnish Change Web Server Signature Headers
To change the web server signature headers in Varnish, you can modify the VCL (Varnish Configuration Language) file used by Varnish. Here are the steps to follow:rn rn Open the VCL file in a text editor. On Ubuntu and Debian systems, the default VCL file is located at /etc/varnish/default.vcl . r
HowTo: Find Python Version
To find out the version of Python installed on your system, you can use the python command in a terminal window. Here are the steps to follow:rn rn Open a terminal window on your system. rn Type the following command and press Enter: rn rn rn rn python --version rn rn rnThis command will display the
Linux Find Out BIOS Version Using a Command Line Option
To find out the BIOS version of your Linux system using a command line option, you can use the dmidecode utility, which is a tool for retrieving information about the system’s hardware configuration from the BIOS. n Here are the steps to follow: n n Open a terminal window on your Linux machine
Linux Restart Nginx WebServer Command
To restart the Nginx web server on a Linux system, you can use the systemctl command, which is the standard system and service manager used by most modern Linux distributions. Here are the steps to follow:rn rn Open a terminal window on your Linux machine. rn Type the following command to restart th
HowTo: Ubuntu Linux Install Kernel Source Code And Headers
To install the kernel source code and headers on Ubuntu Linux, you can use the apt-get package manager. Here are the steps to follow:rn rn Open a terminal window on your Ubuntu machine. rn Update the package list by running the following command: rn rn rn rn sudo apt - get update rn rn rn rn Install
Linux Remove All Partitions / Data And Create Empty Disk
To remove all partitions and data from a disk and create an empty disk in Linux, you can use the fdisk utility, which is a standard disk partitioning tool available on most Linux distributions. Here are the steps to follow: WARNING: These steps will permanently delete all data on the disk. Please
Linux / UNIX: tar Command Stay In Local / File System When Creating Archive
To list or install only security updates in RHEL / CentOS using yum, you can use the yum-plugin-security package. Here are the steps to follow: n n Install the yum-plugin-security package by running the following command as the root user: n n n n yum install yum-plugin-security n n n n Once the pack
Linux Disable Wireless Networking ( Wi-Fi )
To disable wireless networking (Wi-Fi) on Linux, you can follow these steps:rn rn Open a terminal window on your Linux machine. rn Type the following command to list the available network interfaces: rn rn rn rn ifconfigrn rn rn rn Identify the wireless interface from the list of available network i
What Is The Meaning of 0.0.0.0 In Routing Table?
In a routing table, the entry 0.0.0.0 is known as the default route. It is a special route that matches all IP addresses and is typically used as a catch-all route when there is no other more specific route available to forward traffic. When a device needs to send a packet to a destination that i
FreeBSD DHCP Set Hostname ( Empty Hostname After Reboot )
In FreeBSD, you can set the hostname that your system uses to identify itself on the network using the hostname command. To configure the hostname for a system using DHCP, you can add the following line to the /etc/dhclient.conf configuration file:rn rn rn send host-name "yourhostname" ;rn rn rnRepl
Shell Script While Loop Examples
Here are a few examples of while loops in shell scripts: n Example 1: Counting from 1 to 10 n n n #!/bin/bash n count=1 n while n do n echo $count n count=$((count+ 1 )) n done n n n This script initializes a variable called count to 1 and then uses a while loop to print the value of count and incre
What version of Linux do I have? Find out at command line
You can use the lsb_release command to find out which version of Linux you have from the command line. Here's how:rn rn Open a terminal window on your Linux system. rn Type the following command and press Enter:rn rn rn lsb_release - a rn rn rnThis command will display detailed information about you
Mac OS X Start / Stop / Restart Apache Web Server
On Mac OS X, the built-in Apache web server is managed using the httpd command. You can use the following commands to start, stop, and restart the Apache web server:rn rn Start Apache:rn rn rn sudo apachectl start rn rn rn Stop Apache:rn rn rn sudo apachectl stop rn rn rn Restart Apache:rn rn rn sud
Mac OS X: Restart / Stop / Start Apache2
On Mac OS X, you can use the following commands to restart, stop, and start Apache2:rn rn Restart Apache2:rn rn rn sudo apachectl restartrn rn rn Stop Apache2:rn rn rn sudo apachectl stop rn rn rn Start Apache2:rn rn rn sudo apachectl start rn rn rn rnThese commands require administrative privileges
Linux / UNIX Restrict at / cron Usage To Authorized Users
To restrict the usage of the at and cron commands to authorized users on Linux/UNIX systems, you can use the following steps:rn rn Create a group for authorized users:rn rn rn sudo groupadd atcronusersrn rn rn Add the authorized users to the group:rn rn rn sudo usermod - a -G atcronusers user1rnsudo
Bash Substring Verification
Bash provides various mechanisms for working with substrings. Here are some common ways to verify if a substring exists within a string:rn rn Using grep command:rn rn rn if echo " $string " | grep -q " $substring " ; then rn echo "Substring found" rn else rn echo "Substring not found" rn fi rn rn rn
Linux Disable and Remove X Windows (X.org)
If you have a Linux system that you want to use without a graphical user interface (GUI), you can disable and remove the X Windows system (X.org) to free up system resources and reduce potential security risks. n Here are the steps to disable and remove X Windows on a Linux system: n n Switch to the
2,685 guides published.
