Guides
How website valuation actually works, what traffic estimates can and cannot tell you, and which once-standard metrics have quietly stopped existing.
Bash Reissue And Repeat A Long Command Without Retyping It on a Linux, macOS & Unix
In Bash on Linux, macOS, and Unix, you can reissue and repeat a long command without retyping it by using the following methods: n n Using the up arrow key: Press the up arrow key to recall the previous command. You can scroll through previous commands using the up and down arrow keys. ( https://www
FreeBSD Unix Show Mounted File Systems
To show mounted file systems in FreeBSD Unix, you can use the mount command. The mount command displays information about mounted file systems, including the file system type, mount point, and options. n To view the list of mounted file systems, run the following command in the terminal: n n n mount
Howto Configure PFSense Site-to-Site IPSec VPN Tunnel For Remote Access
To configure a site-to-site IPsec VPN tunnel for remote access in pfSense, follow these steps:rn rn Log in to the pfSense web interface and go to VPN > IPsec. rn Click the "Add P1" button to create a new Phase 1 configuration. rn In the General Information tab, fill in the following details:rn rn
Ubuntu Linux 12.04/14.04 LTS Install Memcached Server For Python and PHP Apps
To install the Memcached server on Ubuntu Linux 12.04/14.04 LTS for Python and PHP applications, you can follow these steps: n n Update the package list:n n n sudo apt - get update n n n n Install Memcached:n n n sudo apt- get install memcached n n n n Install the Python Memcached library:n n n sudo
Ubuntu Linux: Edit and Open Files That Require Administrator Privileges
To edit and open files that require administrator privileges on Ubuntu Linux, you can use the sudo command to run a text editor with elevated privileges. The most commonly used text editors on Ubuntu are nano and vi . n For example, to edit the /etc/sudoers file using nano , run the following comman
Use ssh-copy-id with an OpenSSH Server Listening On a Different Port
rn To use ssh-copy-id with an OpenSSH server listening on a different port, specify the port number using the -p option followed by the port number. For example: rn rn rn rn rn rn rn rn ssh - copy - id - p < port_number > user @hostname rn rn rnHere, port_number is the number of the port on wh
Linux Change Disk Label Name on EXT2 / EXT3 / EXT4 File Systems
To change the disk label on an EXT2, EXT3, or EXT4 file system in Linux, you can use the e2label command. Here's an example of how to change the label of an EXT4 file system located on the /dev/sda1 device to new_label :rn rn rn sudo e2label /dev/sda1 new_labelrn rn rnAfter running this command,
FreeBSD Unix Find Out Which Programs Are Listening On a Given Port Number
To find out which programs are listening on a given port number on a FreeBSD Unix system, you can use the sockstat command. Here's an example to find the program listening on port 80 (HTTP):rn rn rn sockstat - 4 l | grep : 80 rn rn rnThe sockstat command displays information about active sockets,
How To Mount a Remote Directory With SSHFS on a Linux
To mount a remote directory using SSHFS on a Linux system, follow these steps: n n Install the sshfs package, which provides support for mounting remote directories via SSH: n n n n sudo apt - get update nsudo apt - get install sshfs n n n n Create a mount point for the remote directory, for example
How To Patch and Protect OpenSSL Vulnerability # CVE-2015-0291 CVE-2015-0204 [ 19/March/2015 ]
To patch and protect against the OpenSSL vulnerabilities (CVE-2015-0291 and CVE-2015-0204) discovered in March 2015, you need to update to a version of OpenSSL that includes fixes for these vulnerabilities. The specific steps for updating OpenSSL depend on the operating system you're using and the p
Debian/Ubuntu Linux: Find If Installed APT Package Includes a Fix/Patch Via CVE Number
To find if a package installed through APT on Debian/Ubuntu Linux includes a fix for a specific Common Vulnerabilities and Exposures (CVE) number, you can use the following steps:rn rn Update the package information database: rn rn rn rn sudo apt update rn rn rn rn Install the apt-show-versions pack
How To Debian/Ubuntu Linux Auto Mount Windows NTFS File System [ntfs-3g]
To automatically mount a Windows NTFS file system on Debian/Ubuntu Linux, follow these steps:rn rn Install the ntfs-3g package, which provides NTFS support for Linux: rn rn rn rn sudo apt - get update rnsudo apt - get install ntfs -3 grn rn rn rn Create a mount point for the NTFS file system, for ex
RHEL / CentOS Linux 7 Enable Ping Access In Docker Container
To enable ping access in a Docker container on RHEL/CentOS Linux 7, you can use the following steps:rn rn Start a new Docker container: rn rn rn rn docker run -it --name <container_name> <image_name> /bin/ bashrn rn rn rn Install the iputils package inside the Docker container: rn rn rn
HowTo Block Internet Explorer Browser With Squid Proxy Server on a Linux/Unix Server
To block Internet Explorer browser access with Squid proxy server on a Linux/Unix server, follow these steps:rn rn Install Squid proxy server if it's not already installed on your server. rn Open the Squid configuration file, usually located at "/etc/squid/squid.conf" using a text editor. rn Add the
CentOS/RHEL Use yum Command To Downgrade or Rollback Updates
To downgrade or rollback updates on CentOS/RHEL, you can use the following steps:rn rn Install the yum-plugin-versionlock package to enable yum to lock packages at a specific version: rn rn rn rn yum install yum-plugin-versionlockrn rn rn rn Lock the current version of a package by using the followi
RHEL / Centos Linux 7: Change and Set Hostname Command
To change the hostname of a CentOS/RHEL 7 system, you can use the following commands:rn rn rn # hostnamectl set-hostname newhostname rn rn rnReplace "newhostname" with the desired hostname for your system. In addition to changing the hostname, you may also need to edit the /etc/sysconfig/network
Linux / Unix: OpenSSH Multiplexer To Speed Up OpenSSH Connections
The OpenSSH Multiplexer is a feature of the OpenSSH client that allows multiple SSH connections to be multiplexed over a single network connection. This can reduce the overhead of creating and maintaining multiple connections, leading to faster and more efficient connections. To enable the OpenSS
How To CentOS / RHEL 7 Install Gnome Desktop Using Yum
To install Gnome Desktop on a CentOS/RHEL 7 system using the yum command, follow these steps:rn rn First, make sure you have a stable internet connection and update your system: rn rn rn rn # yum update rn rn rn rn Install the Gnome Desktop environment by running the following command: rn rn rn rn #
How To Patch and Protect Linux Server Against the VENOM Vulnerability # CVE-2015-3456
The VENOM vulnerability (CVE-2015-3456) is a security vulnerability that affects some Linux and Unix virtualization systems, including QEMU and KVM. To protect your Linux server against this vulnerability, you need to patch your system and apply the necessary security updates. n Here are the steps t
What does the sleep command do in Linux?
The sleep command in Linux is used to pause the execution of a script or process for a specified amount of time. It is often used in shell scripts or other automation tasks. The syntax of the sleep command is:rn rn rn sleep NUMBER ...rn rn rnWhere NUMBER is the number of seconds to pause the exec
2,685 guides published.
