Guides
How website valuation actually works, what traffic estimates can and cannot tell you, and which once-standard metrics have quietly stopped existing.
MySQL: Find Out Which Table is Consuming Resources
To find out which table is consuming the most resources in MySQL, you can use the following SQL query:rn rn rn SELECT table_name, engine, table_rows, data_length, index_length,rnround(((data_length + index_length) / 1024 / 1024 ), 2 ) "Size in MB"rn FROM information_schema.TABLESrn WHERE table_schem
Ubuntu 4GB Ram Limitation and Solution
Ubuntu 32-bit version has a limitation of using only up to 4GB of RAM. To use more than 4GB RAM on a Ubuntu system, you need to install the 64-bit version of the operating system. The 64-bit version of Ubuntu can support up to 2^64 bytes (16 exabytes) of RAM. To check if your system is running
Linux Gnome Numeric Keypad Disabled [ Mouse keys ]
If your numeric keypad is disabled in Gnome, it may be because the mouse keys feature has been turned on. Mouse keys allow you to control the mouse pointer with the numeric keypad. To turn off mouse keys and enable the numeric keypad in Gnome, follow these steps:rn rn Open the Gnome Control Cente
SELinux Apache Allow To Serve The Contents Of a Loopback Mounted ISO Image
To allow SELinux to serve the contents of a loopback mounted ISO image via Apache, you can follow these steps:rn rn First, mount the ISO image using the mount command. For example, if the ISO file is called example.iso and is located in the /mnt directory, you can use the following command:rn rn rn
Solaris / OpenSolaris Mount Windows Shared (CIFS)
To mount a Windows shared folder (CIFS) on a Solaris or OpenSolaris system, you can use the mount command. Here are the steps to follow:rn rn Create a mount point for the shared folder. For example, let's create a directory named /mnt/winshare :rn rn rn # mkdir /mnt/winshare rn rn rn Make sure the s
How To Monitor ZFS Disk Space Storage Pool File System
To monitor the ZFS disk space storage pool file system, you can use the zpool and zfs commands. Here are some examples:rn rn To display information about all ZFS storage pools: rn rn rn rn zpool listrn rn rn rn To display the usage statistics for a particular ZFS storage pool: rn rn rn rn zpool list
FreeBSD Install .TBZ Package File
To install a .tbz package file in FreeBSD, you can use the pkg_add command. Here are the steps:rn rn Open the terminal on your FreeBSD system. rn Download the .tbz package file that you want to install. rn Use the pkg_add command to install the package. For example, if you have downloaded a package
FreeBSD Install wget Utility To Download Files From Internet
The wget utility is not installed by default in FreeBSD, but it can be easily installed using the pkg package manager. To install wget , follow these steps:rn rn Open a terminal or login to the FreeBSD system. rn Type the following command as the root user to update the package repository:rn rn r
UNIX mv Command Examples
The mv command is used to move or rename files and directories in Unix/Linux operating systems. Here are some examples of how to use the mv command:rn rn To rename a file:rn rn rn mv oldfile newfilern rn rnThis will rename the file oldfile to newfile . rn To move a file to a different directory:rn r
UNIX ping Command Examples
The ping command in UNIX is used to test connectivity between two nodes in a network. It sends packets to the destination node and waits for a response. Here are some examples of how to use the ping command in UNIX:rn rn Ping a host by IP address:rn rn rn ping 192.168.1.1rn rn rn Ping a host by host
Search Text File In UNIX
To search for text in a file on UNIX, you can use the grep command. grep is a command-line utility that searches for patterns in files. Here’s how to use it: n n Open a terminal on your UNIX system. n Navigate to the directory where the file is located using the cd command. n Type grep followe
Linux / UNIX: Kill Command Examples
The kill command is used to send a signal to a process. The signal can be used to terminate the process or to instruct it to perform some action, such as reloading its configuration file. Here are some examples of how to use the kill command in Linux/UNIX:rn rn To terminate a process with a speci
Unix Command To Rename A Folder
The mv command can be used to rename files in UNIX. Here is the syntax:rn rn rn mv old_filename new_filenamern rn rnHere, old_filename is the name of the file you want to rename, and new_filename is the new name you want to give to the file. For example, to rename a file named file1.txt to newfil
Ubuntu Set User Profile Under Bash Shell
To set a user profile in the Bash shell in Ubuntu, you can use the ~/.bashrc file. This file is executed whenever a new interactive shell is started, and it can be used to set environment variables, aliases, and other settings for the user. To set the user profile, follow these steps:rn rn Open a
Linux Restrict Execution of /usr/sbin/userhelper to Console Users
The /usr/sbin/userhelper program is used by the useradd , usermod , and other user administration utilities to provide a graphical interface for adding, modifying, or deleting user accounts. By default, any user can execute /usr/sbin/userhelper , which can be a security risk. n To restrict the execu
yum Download All Source Packages (SRPM) From RedHat / CentOS WebSite
To download all source packages (SRPM) from RedHat or CentOS website using yum, you can use the yumdownloader command. Here's an example command to download all source packages from the base repository of CentOS 7:rn rn rn yumdownloader --source --destdir =/path/ to /download/directory --disabler
/bin/bash: bad interpreter: Text file busy Error and Solution
The “Text file busy” error occurs when a file is being executed while it is being modified. This is a common error in scripts that are being edited while they are being run. ( www.ebsta.com ) n To resolve this issue, you can follow these steps: n n Check the file permissions of the scrip
Linux / UNIX: Sed Replace Newline ( ) character
In sed, the newline character can be replaced with the escape sequence. To replace newlines in a file, use the following command:rn rn rn sed ':a;N;$!ba;s/ / /g' inputfile > outputfilern rn rnThis command reads the entire input file into the pattern space, replaces newlines with spaces, and write
Linux Load USB Driver
To load a USB driver on Linux, follow these steps:rn rn Plug in your USB device. rn Open a terminal window. rn Type the following command to check if your device has been detected by the system:rn rn rn $ dmesg | tail rn rn rnThis will display the last few messages from the system log, which should
Apache: Make Changes In a Config File Take Effect Without Restarting Server
When making changes to an Apache configuration file, it is often necessary to restart the Apache server to apply the changes. However, there is a way to make changes take effect without restarting the server, which can be useful in certain circumstances. The method to do this is to use the apache
2,685 guides published.
