03-06-2009
need solaris /etc/default/fs equivalent file in redhat Linux
contents of /etc/default/fs file in solaris are
@:/root !ksh less /etc/default/fs
LOCAL=ufs
i want to retrieve same LOCAL variable in redhat Linux...
any1 knows path of corresponding file in Linux?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello all,
I am wondering if anyone had success with installing a redhat linux (PC box) on a Solaris NIS+ network. I have gotten information on how to do this but have been unsuccessful. The information that I have gotten is a little out dated and is not 100%. ... (0 Replies)
Discussion started by: larry
0 Replies
2. UNIX for Advanced & Expert Users
can someone tell me what could cause an application not to startup? I'm getting calls from users saying they cant' startup a particular application. how do I troubleshoot this?
i tried doing ps -ef | grep (application)
i saw the application running. now, am wondering, would it be safe to... (1 Reply)
Discussion started by: TRUEST
1 Replies
3. UNIX for Advanced & Expert Users
Dear All Experts,
Would like to know the maturity/ stability of Redhat Linux AS 3.0 versus Solaris.
My organization need to setup cluster solution. We are well-versed with Veritas Cluster on Solaris.
We are thinking of waiting for certification support of the various ISV like Oracle,... (1 Reply)
Discussion started by: izy100
1 Replies
4. UNIX for Dummies Questions & Answers
What is the command in redhat that is equvalent in 'yum' in Fedora? (1 Reply)
Discussion started by: gkreddy
1 Replies
5. UNIX for Dummies Questions & Answers
What is the equivalent of Solaris snoop in Linux
I could not find snoop in RHEL (2 Replies)
Discussion started by: santosh149
2 Replies
6. Shell Programming and Scripting
I have a simple csh-script on a Solaris Workstaion which invokes the bc calculator:
#!/bin/csh
set shz=2
set zshift=5
set shzp=`bc -l <<END \
scale = 3 \
-1. * $shz + $zshift \
END`
echo $shzp
The result ($shzp) in this case is 3 (-1*2+5). It works fine on Solaris 8.
... (2 Replies)
Discussion started by: two reelers
2 Replies
7. Solaris
hi there
is there a solaris equivalent to the linux screen command? (1 Reply)
Discussion started by: milhan
1 Replies
8. Solaris
contents of /etc/default/fs file in solaris are
@:/root !ksh less /etc/default/fs
LOCAL=ufs
i want to retrieve same LOCAL variable in redhat Linux...
any1 knows path of corresponding file in Linux? (3 Replies)
Discussion started by: crackthehit007
3 Replies
9. Solaris
I've successfully installed syslog-ng and chkconfig using the packages from the OpenCSW project, these packages install under /opt/csw. I now need to disable the default syslog daemon and enable the new service created by the OpenCSW package (/etc/init.d/cswsyslog_ng).
Is there any good way to... (3 Replies)
Discussion started by: aussieos
3 Replies
10. Red Hat
Hi, I come from a legacy Solaris background with lots of experience with Solaris Containers/zones that we use for network and process isolation from each other.
Currently we have a RHEL7 Linux VM running on VMWare, but we would like to segment that VM with some form of containers and achieve... (1 Reply)
Discussion started by: ckmehta
1 Replies
LEARN ABOUT DEBIAN
colors
COLORS(3) libbash colors Library Manual COLORS(3)
NAME
colors -- libbash library for setting tty colors.
SYNOPSIS
colorSet <color>
colorReset
colorPrint [<indent>] <color> <text>
colorPrintN [<indent>] <color> <text>
DESCRIPTION
General
colors is a collection of functions that make it very easy to put colored text on tty.
The function list:
colorSet Sets the color of the prints to the tty to COLOR
colorReset Resets current tty color back to normal
colorPrint Prints TEXT in the color COLOR indented by INDENT (without adding a newline)
colorPrintN The same as colorPrint, but trailing newline is added
Detailed interface description follows.
Available colors:
Green
Red
Yellow
White
The color parameter is non-case-sensitive (i.e. RED, red, ReD, and all the other forms are valid and are the same as Red).
FUNCTIONS DESCRIPTIONS
colorSet <color>
Sets the current printing color to color.
colorReset
Resets current tty color back to normal.
colorPrint [<indent>] <color>
Prints text using the color color indented by indent (without adding a newline).
Parameters:
<indent>
The column to move to before start printing. This parameter is optional. If ommitted - start output from current cursor position.
<color>
The color to use.
<color>
The text to print.
colorPrintN [<indent>] <color>
The same as colorPrint, except a trailing newline is added.
EXAMPLES
Printing a green 'Hello World' with a newline:
Using colorSet:
$ colorSet green
$ echo 'Hello World'
$ colorReset
Using colorPrint:
$ colorPrint 'Hello World'; echo
Using colorPrintN:
$ colorPrintN 'Hello World'
AUTHORS
Hai Zaar <haizaar@haizaar.com>
Gil Ran <gil@ran4.net>
SEE ALSO
ldbash(1), libbash(1)
Linux Epoch Linux