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
SAM_FINALIZE(3) 				    Corosync Cluster Engine Programmer's Manual 				   SAM_FINALIZE(3)

NAME
sam_finalize - Terminate SAM service SYNOPSIS
#include <corosync/sam.h> cs_error_t sam_finalize (void); DESCRIPTION
The sam_finalize function is used to terminate SAM API. Once the connection is finalized, the SAM may not be used again by application. Whole functionality (health checking) will be stopped and after application fail, recovery action will not be taken. RETURN VALUE
This call return CS_OK value if successful, otherwise and error is returned. ERRORS
CS_ERR_BAD_HANDLE library was not initialized by sam_init(3) function or was finished already. SEE ALSO
sam_initialize(3) CS_ERR_TRY_AGAIN Resource temporarily unavailable CS_ERR_INVALID_PARAM Invalid argument CS_ERR_ACCESS Permission denied CS_ERR_LIBRARY The connection failed CS_ERR_INTERRUPT System call inturrupted by a signal CS_ERR_NOT_SUPPORTED The requested protocol/functuality not supported CS_ERR_MESSAGE_ERROR Incorrect auth message received CS_ERR_NO_MEMORY Not enough memory to completed the requested task corosync Man Page 12/01/2009 SAM_FINALIZE(3)
All times are GMT -4. The time now is 08:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy