While running the xeyes command, you may encounter the below error: -bash: xeyes: command not found xeyes is an X Window application that pops up a pair of eyes that follow your mouse pointer around the screen. If you are getting the “xeyes command not found” error, you may install the pakacge x11-apps as per […]
Search Results for: CentOS / RHEL 7 : How to Install GUI
Linux Network File System (NFS) interview questions
What is NFS? Network File System (NFS) is one of the oldest computer file sharing products in existence today. It is still the most popular for sharing directories of files between UNIX and Linux systems. NFS allows servers to designate specific directories to make available to designated hosts and then allows client systems to connect […]
How to write multiple plays and per-play privilege escalation in Ansible
Writing Multiple Plays A playbook is a YAML file containing a list of one or more plays. Remember that a single play is an ordered list of tasks to execute against hosts selected from the inventory. Therefore, if a playbook contains multiple plays, each play may apply its tasks to a separate set of hosts. […]
Linux Interview Questions – Linux Printing (CUPS)
This post covers the most often asked how-to questions about Linux printing support. What tool provides Linux printing support? CUPS, the Common Unix Printing System What kinds of printers can be attached to a Linux system? Linux support printers which are connected using any of the following: Locally Attached Printer (LPT) through a local parallel […]
Sample /etc/services file in Linux
Below is a sample /etc/services file from a CentOS/RHEL 7 host. # cat /etc/services # /etc/services: # $Id: services,v 1.55 2013/04/14 ovasik Exp $ # # Network services, Internet style # IANA services version: last updated 2013-04-10 # # Note that it is presently the policy of IANA to assign a single well-known # port […]
Beginners Guide to The Docker World
Docker: Introduction Docker is an open platform management tool for Linux Containers. It provides a means for developers and system administrators to build and package applications into lightweight containers. Docker consists of the following components: Docker Engine – A portable, lightweight runtime and packaging tool Docker Hub – A cloud service for sharing applications and […]
Beginners Guide to yum Configuration
All software on a Linux system is divided into packages that can be installed, uninstalled, upgraded, queried, and verified. CentOS/RHEL systems use the Red Hat Package Manager (RPM) to facilitate the installation, upgrade and removal of software packages. CentOS/RHEL also provides the yum(Yellowdog Updater, Modified) utility, which works with RPM packages. When yum installs or […]
How to resolve the error “-bash: xclock: command not found” in CentOS / RHEL
xclock is a handy tool to test if the DISPLAY variable is set properly and you can get a GUI based clock on running the “xclock” command as shown below. The package xorgs-x11-apps provides the xclock command. Installing the package providing the xclock command 1. Check the package which provides the binary, using below command: […]
CentOS / RHEL : Beginners guide to cron
Cron is a time-based job scheduler, it is configured it to run commands at given times or intervals. Each User has a cron table which defines what to execute and at what interval. crontab command is used to create, modify and view cron jobs. Configuration files and directories – Cron is controlled by a set […]