command

How to configure xinetd package in fedora

 xinetd, the eXtended InterNET Daemon, is an open-source daemon which runs on many Linux and Unix systems and manages Internet-based connectivity. It offers a more secure extension to or version of inetd, the Internet daemon. xinetd performs the same function as inetd: it starts programs that provide Internet services. Instead of having such servers started [...]

How to Manage xinetd Programs

Many network enabled Linux applications don’t rely on themselves to provide restricted access or bind to a particular TCP port; instead they often offload a lot of this work to a program suite made just for this purpose, xinetd. The xinetd RPM is installed by default in Fedora Linux and uses /etc/xinetd.conf as its main [...]

How to Run quotacheck command

When each quota-enabled file system is remounted, the system is now capable of working with disk quotas. However, the file system itself is not yet ready to support quotas. To do this, you must first run quotacheck. The quotacheck command examines quota-enabled file systems, building a table of the current disk usage for each one. This table is [...]

How to Implement Disk Quotas on Linux

This tutorial walks you through implementing disk quotas for both users and groups on Linux, using a virtual filesystem, which is a filesystem created from a disk file. Since quotas work on a per-filesystem basis, this is a way to implement quotas on a sub-section, or even multiple subsections of your drive, without reformatting. This [...]

How to View The Contents Of A Table

You can view all the data contained in the table named test by using the select command. In this example you want to see all the data contained in the very first row in the table. mysql> select * from test limit 1; With a brand new database this will give a blank listing, but [...]

How to View MySQL Database’s Table Structure

The describe command gives you a list of all the data fields used in your database table. In the example, you can see that the table named test in the salesdata database keeps track of four fields: name, description, num, and date_modified. mysql> describe test; +—————+————–+——+—–+————+—————-+ | Field | Type | Null | Key | [...]

How to List the Data Tables In Your MySQL Database

The show tables command gives you a list of all the tables in your MySQL database, but you have to use the use command first to tell MySQL to which database it should apply the show tables command. The example uses the salesdata database; notice that it has a table named test. mysql> use salesdata; [...]

How to Run MySQL Scripts To Create Data Tables

Another common feature of prepackaged applications written in MySQL is that they may require you to not only create the database, but also to create the tables of data inside them as part of the setup procedure. Fortunately, many of these applications come with scripts you can use to create the data tables automatically. Usually [...]

How to Access The MySQL Command Line

MySQL has its own command line interpreter (CLI). You need to know how to access it to do very basic administration. You can access the MySQL CLI using the mysql command followed by the -u option for the username and -p, which tells MySQL to prompt for a password. Here user root gains access: [root@bigboy [...]

How to Change Your Mac Address in Linux

Short for Media Access Control address, a hardware address that uniquely identifies each node of a network. In IEEE 802 networks, the Data Link Control (DLC) layer of the OSI Reference Model is divided into two sublayers: the Logical Link Control (LLC) layer and the Media Access Control (MAC) layer. The MAC layer interfaces directly [...]

How to backup the configuration file on the PIX Firewall

It is a recommended practice to backup the configuration of the PIX Firewall for use in emergencies or for disaster recovery. But, the PIX does not support an external Flash card. The internal Flash does not support the backup of the configuration file. The configuration file must be saved externally The PIX configuration file can [...]