view counter

Linux Feed

Linux Support, Oracle Linux, Red Hat Enterprise Linux, SUSE, Oracle Unbreakable Enterprise Kernel and the Oracle Unbreakable Linux Support Program (ULN) resources, news, and support articles.

Linux bash script color text

 
Recently in a script I am trying to coloured text in one of the script.
I have been tried couple of ways, failed initially and at the end I got solution.
Content of my script color.sh is following:
echo -e "\e[0;32;47m Hello World \e[0m"
After running the script the expected output in Gray background and text is in parrot green colour.
When I ran command sh color.sh output is:
-e \e[0;32;47m Hello World \e[0m
The output here is as not expected, reason I fond is shell wont support the coloured text.

Using MOAB mdiag -n to provide state of nodes

mdiag -n command provides detailed information about the state of nodes
Moab or MAUi is currently tracking

rsyslog output plugin wrangling...

For some hours, I am fighting with parts of rsyslog design around 2006 (or so): initially, we
thought that all actions will be terminated by canceling their thread
WHEN they not shutdown within the queue shutdown timeout. Then, we saw
that it was better to at least try it cooperatively (cancellation is
still required if that does not work). Now, with imrelp, I have a
situation where I need to pass some information down to librelp when it comes to termination. Supposedly a very simple thing to do (a single call). ...

All for One, One for All: MySQL, Oracle Linux, Oracle VM Tech Tours

MySQL Tech Tours: From the Web to the Cloud

Are you looking to deploy MySQL-based applications with Oracle Linux and Oracle VM either on-premise or in the cloud?

Are you in Europe?

Puppet error 400 on server not authorized to call find

While trying to play with puppet I got error saying that “Could not evaluate: Error 400 on SERVER: Not authorized to call find ……”
The reason for this issue is access permissions for puppet clients.
We need to set proper access permissions in “/etc/puppet/fileserver.conf” file.
Lest say if our puppet master hostname is master.example.com and client hostname is client.example.com, we should add following lines in /etc/puppet/fileserver.conf

eBook - Linux Quick Fix Notebook

Instant access to precise, step-by-step solutions for every essential Linux administration task from basic configuration and troubleshooting to advanced security and optimization.

Announcing Ksplice Inspector!

Everyone knows a good inspector is crucial when buying a home or looking for clues in a "whodunit". And now you also have an "inspector" for your Linux kernel!

Ksplice Inspector

With so many kernel updates released, it can be difficult to keep
track. At Oracle, we monitor kernels on a daily basis and provide bug and security updates administrators can apply without a system reboot. To help out, the Ksplice team at Oracle has
produced the Ksplice Inspector, a web tool to show you
the updates Ksplice can apply to your kernel with zero downtime.

MARK YOUR CALENDAR: Tweet Chat with Wim Coekaerts, April 11, 1pm PT

Tweet Chat with Oracle Executive, Wim Coekaerts on all thing Linux

When : Thursday, April 11 at 1
p.m. PT

Join Oracle
Senior Vice President of Linux and Virtualization Engineering, Wim Coekaerts,
on Thursday, April 11 at 1 p.m. PT for an hour of tweets about all things
Linux!

Using pam_pbssimpleauth.so to authorise login for users for Torque

For a cluster shared by many users, it is important to prevent errant users from directly ssh into the compute nodes, thus bypassing the scheduler. To implement the pam module, compile the Torque Server based on Installing Torque 2.5 on CentOS 6
Step 1: You should be able to find the pam_pbssimpleauth.so packages at

view counter