Sponsored Content
Full Discussion: Using color in scripts
Operating Systems Linux Ubuntu Using color in scripts Post 303033801 by drew77 on Thursday 11th of April 2019 06:39:11 PM
Old 04-11-2019
Did so.

Code:
-----
 Results, file missing:

-----
 Results, file missing:

-----
 Results, file missing:

-----
 Results, file missing:

-----
 Results, file missing:

/home/andy/bin/my-hilite: fork: retry: Resource temporarily unavailable
/home/andy/bin/my-hilite: fork: retry: Resource temporarily unavailable
/home/andy/bin/my-hilite: fork: retry: Resource temporarily unavailable
/home/andy/bin/my-hilite: fork: retry: Resource temporarily unavailable
/home/andy/bin/my-hilite: fork: retry: Resource temporarily unavailable

And I have a runnaway script. :-)

I use the Mate-Terminal.

What terminal have you tested it on?
 

2 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to change the background color in the init 3 mode(not line color)

Hello, I am using RHEL 6.1 on VMware I am searching for a way to change background color (not line by line color wich one can using tput command) basically changing the color of the whole screen to white instead of the default black and changing font color to black and alos would like to... (2 Replies)
Discussion started by: Dexobox
2 Replies

2. UNIX for Beginners Questions & Answers

Text color in Linux scripts via putty

hi Folks, Can anyone help with changing the color of the words in a linux shell script? I get how to change default background etc in putty, but for some reason the text in the script has different colors for different parts of the cript. Is there a way to have one color in a linux shell... (5 Replies)
Discussion started by: jonnyd
5 Replies
rad_get_current_home(3) 				     Library Functions Manual					   rad_get_current_home(3)

NAME
rad_get_current_home - Returns the caller's home Resource Affinity Domain (libnuma library) SYNOPSIS
#include <numa.h> radid_t rad_get_current_home( void ); PARAMETERS
None. DESCRIPTION
The rad_get_current_home() function returns the home Resource Affinity Domain (RAD) of the caller. RESTRICTIONS
As is true for many system information queries, the data returned by the rad_get_current_home() function may be stale by the time it is returned to or used by the caller. For example, migration of the process to a different RAD could occur after the "current home RAD" is fetched. RETURN VALUES
This function returns the caller's home RAD and always completes successfully. ERRORS
None. SEE ALSO
Functions: cpu_get_current(3), cpu_get_rad(3), nloc(3), numa_intro(3), rad_attach_pid(3) Files: numa_types(4) rad_get_current_home(3)
All times are GMT -4. The time now is 10:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy