In this Mini Tutorial we will be deleting a user account from a MySQL server instance, using DROP USER call to the mysql.user table. First, fire up MySQL in your terminal and login as an administrator account with: mysql -u root -p You will be prompted for your root password before being granted access to the […]
The hostnamectl tool is provided for administering the three separate classes of host names in use on a given system. View All the Host Names To view all the current host names, enter the following command: ~]$ hostnamectl status The status option is implied by default if no option is given.
In this document we describe an installation of Puppet configuration manager on a Ubuntu Linux 14.04 Trusty Tahr. The installation will be followed by a simple puppet manifest example to make sure that installation was successful and puppet ready to use as standalone deployment.
For New Linux Users www.FreeOS.com has a great set of resources to learn the linux shell various scripting languagues and a deeper understanding of the linux operating system. Here is a great little Shell Test.
This article explains 2 simple commands that most people want to know when they start using Linux. They are finding the size of a directory and finding the amount of free disk space that exists on your machine. The command you would use to find the directory size is ‘ du ‘. And to find the free […]
The find utility on linux allows you to pass in a bunch of interesting arguments, including one to execute another command on each file. We’ll use this in order to figure out what files are older than a certain number of days, and then use the rm command to delete them.
NTP is a TCP/IP protocol for synchronising time over a network. Basically a client requests the current time from a server, and uses it to set its own clock. Behind this simple description, there is a lot of complexity – there are tiers of NTP servers, with the tier one NTP servers connected to atomic […]
OK, fire up your Linux systems and follow along with me for this user and group administration tutorial. This article is your short course on user and group administration using some commands that you’ve perhaps never seen or used before. User management doesn’t have to induce hair pulling (yours or theirs) nor does it have […]
How To Extract a bz2 Tar File
grep is a powerful file pattern searcher that comes equipped on every distribution of Linux. If, for whatever reason, it is not installed on your system, you can easily install it via your package manager
In this tutorial we’ll look at the find command and how you can quickly use it to locate files in your filesystem. Find is a powerful utility capable of locating files anywhere on your system including mounted drives and removable storage, processing regular expressions, and even running other commands on those files. Fortunately only a […]
Recently I’ve had a problem with one of the packages (“puppet-dashboard”) that went broken after system upgrade, so that no updates or even new software could be installed. Here’s an error message I kept getting:
The vi editor is available on almost all Unix systems. vi can be used from any type of terminal because it does not depend on arrow keys and function keys–it uses the standard alphabetic keys for commands.
Basic Linux Filesystems tutorial : ext2,ext3,ext4,JFS & XFS The original Linux system used a simple filesystem that mimicked the functionality of the Unix filesystem. In this tutorial we will discuss basic file system used in Linux.
What is Archived file? An archive file is a compressed file which is composed of one or more than one computer files along with metadata.
Monitoring, anticipating, and reacting to server load is a full time job in some organizations. Unexpected spikes in resource usage can indicate a software or hardware problem. Gradual increases over time can help you predict hardware growth requirements. Under utilization can show you opportunities to use hardware more efficiently. CPU load is one of the […]