Hi all,
I would like to know how to have a color display in the terminal...
In the sense that,
In many linux terminals,we have color coded for each file type,
green for executable ,blue for dirs and so on...
I wanted to know how i can have the same arrangement in solaris(b-79a)
I am not... (5 Replies)
Hi all,
Not sure how "for dummies" this question is, but I'd better use understatement...
A. My Environment
==============
I am using RedHat Linux, version 2.6.18-53.el5.
When I type less --version I get:
less 394
Copyright (C) 1984-2005 Mark Nudelman
...
My terminal is configured... (1 Reply)
I want to have all hex color codes in a given stylesheet in uppercase, so #fff should be converted to #FFF for instance. Here is the regular expression I use to match and convert hex color codes to uppercase:
sed -e 's/^#({3}$)|({6}$)/^#({3}$)|({6}$)/' main.css
However, no conversion to uppercase... (6 Replies)
I browsed the forums but i couldn't find the best answer.so,i'm posting here again..
I have a parent bash script which calls another child script and the child script is used to deploy the tar file using weblogic deployer.
The script is used to display the output on the console and sent to a log... (5 Replies)
I have put some yellow color codes and works well.
I call the funstion using
print_usage(stderr, 0);
I would like to know if there is any way, to store the ansi color codes in variables and then call them inside fprintf.
Or have a format followed by the strings I want to output.
... (5 Replies)
HI
i have two files say test and test1
Test.txt
Code:
Lun01 2TB 1.99TB 99.6%
Lun02 2TB 1.99TB 99.5%
Lun03 2TB 1.99TB 99.5%
Lun04 2TB 1.55TB 89.6%
Code:
Test1.txt
Lun01 2TB 1.99TB 89.5%
Lun02 2TB 1.99TB 99.5%
Lun03 2TB 1.99TB 99.5%
Requirement is to compare... (6 Replies)
Discussion started by: venkitesh
6 Replies
LEARN ABOUT FREEBSD
kld_load
KLD(3) BSD Library Functions Manual KLD(3)NAME
kld_isloaded, kld_load -- kld utility functions
LIBRARY
System Utilities Library (libutil, -lutil)
SYNOPSIS
#include <libutil.h>
int
kld_isloaded(const char *name);
int
kld_load(const char *name);
DESCRIPTION
These functions facilitate loading kernel modules from userland applications.
The kld_isloaded() function takes a name and returns a non-zero value if a module of that name is currently loaded. The name can be either
the name of a module file (cpufreq.ko), the same name without the .ko extension (cpufreq), or the name of a module contained within that file
(cpu/ichss). Only the latter will return correct results if the module is compiled into the kernel.
The kld_load() function is a simple wrapper around the kldload(2) function. It returns zero if and only if the corresponding kldload() call
succeeded or returned EEXIST (signifying that the requested module was already loaded).
SEE ALSO kldfirstmod(2), kldload(2), kldnext(2), kldstat(2), modfnext(2), modstat(2), kld(4)HISTORY
The kld_isloaded() and kld_load() functions first appeared in FreeBSD 6.3.
AUTHORS
The kld_isloaded() and kld_load() functions and this manual page were written by Dag-Erling Smorgrav <des@FreeBSD.org>.
BSD February 18, 2006 BSD