-bash: xclock: command not found

 xclock is a simple graphical application in Unix and Unix-like operating systems, particularly in X Window System environments, that displays an analog or digital clock on the screen. It's primarily used as a basic demonstration of the X Window System's ability to display graphical applications.

 To run xclock on a Unix-like system, you can typically open a terminal or shell and simply type: 

 

 This command will start the xclock application, and a window displaying a clock will appear on your desktop. It's a straightforward utility and doesn't have any complex features or functionalities. Its primary purpose is to serve as a simple visual representation of the X Window System's capabilities.

xclock is often used as a quick way to verify that your X server is running correctly and to test the graphical capabilities of your X Window System environment.

 

Installing the package providing the xclock command


 

 

[root@asmdr software]#  yum install xorg-x11-apps
Loaded plugins: langpacks, ulninfo
ol7_UEKR6                                                                                                                                                                                                             | 3.0 kB  00:00:00
ol7_latest                                                                                                                                                                                                            | 3.6 kB  00:00:00
Resolving Dependencies
--> Running transaction check
---> Package xorg-x11-apps.x86_64 0:7.7-7.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================================================================================================
 Package                                                      Arch                                                  Version                                                  Repository                                                 Size
=============================================================================================================================================================================================================================================
Installing:
 xorg-x11-apps                                                x86_64                                                7.7-7.el7                                                ol7_latest                                                307 k

Transaction Summary
=============================================================================================================================================================================================================================================
Install  1 Package

Total download size: 307 k
Installed size: 772 k
Is this ok [y/d/N]: y
Downloading packages:
xorg-x11-apps-7.7-7.el7.x86_64.rpm                                                                                                                                                                                    | 307 kB  00:00:01
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : xorg-x11-apps-7.7-7.el7.x86_64                                                                                                                                                                                            1/1
  Verifying  : xorg-x11-apps-7.7-7.el7.x86_64                                                                                                                                                                                            1/1

Installed:
  xorg-x11-apps.x86_64 0:7.7-7.el7

Complete!

 

No comments:

Post a Comment

Add new mountpoint on your linux server

  Below are the steps to follow for adding any new mount on you linux machine. [root@oem ~]# fdisk -l Disk /dev/sdb: 53.7 GB, 53687091200 by...