07-27-2013
Thank you, very thorough.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all,
Does anyone know how to ammend the .cshrc file in $HOME for your session to display the path as part of the command line? So that I dont need to keep on typing pwd to see where I am?
thanks
Ocelot (3 Replies)
Discussion started by: ocelot
3 Replies
2. UNIX for Advanced & Expert Users
Hi,
I am running on Sun10 platform. I am trying to retrieve the full command line for a process by running ps (/usr/bin/ps or /usr/ucb/ps).
Running the "/usr/ucb/ps -agxuwwwww PID" with the user that executed the process i get the full command line. Running the same command with another user on... (4 Replies)
Discussion started by: fredy
4 Replies
3. AIX
Hi,
I am running java process that has a long command line.
Is there a way to get the full command line?
By running ps -ef has returns around 2000 chars
By running ps eww returns around 2020 chars
I am running on AIX 5.3
Thanks,
Fredy (0 Replies)
Discussion started by: fredy
0 Replies
4. Shell Programming and Scripting
I have been configuring my .bashrc PS1 to be displayed with some nice colors and in a format that I like, however there is one thing that I cannot figure out (or know if it's even possible).
my PS1 line is as follows:
export PS1='\\u\@\\h\:\\w\n\\$ \'This makes the command and command output... (0 Replies)
Discussion started by: jelloir
0 Replies
5. Shell Programming and Scripting
I am using the while-loop to read a file.
The file has lines with null-terminated strings (words, actually.)
What I have by that reading - just a first word up to '\0'!
I need to have whole string up to 'new line' - (LF, 10#10, 16#A)
What I am doing wrong?
#make file 'grb' with... (6 Replies)
Discussion started by: alex_5161
6 Replies
6. HP-UX
Hi! I need to get PID of some particular process and I wonder if I can use pgrep tool for this purpose. The problem is that pgrep doesn't perform pattern matching on the whole command line, even if I use -f key. Parsing output of ps command is not quite convenient... Also deamon, which PID I need... (2 Replies)
Discussion started by: Sapfeer
2 Replies
7. Shell Programming and Scripting
Hello,
I have a bash script that outputs the following text to a file and then prints that file to the screen:
|64 |30 |0 |8 |23:59:14
|38 |57 |2 |14 |00:09:05
|29 |50 |4 |20 |23:58:04
|20 |48 |7 |23 |00:05:44
|18 ... (2 Replies)
Discussion started by: fnj00
2 Replies
8. UNIX for Dummies Questions & Answers
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
LEARN ABOUT DEBIAN
convert::color::hsv
Convert::Color::HSV(3pm) User Contributed Perl Documentation Convert::Color::HSV(3pm)
NAME
"Convert::Color::HSV" - a color value represented as hue/saturation/value
SYNOPSIS
Directly:
use Convert::Color::HSV;
my $red = Convert::Color::HSV->new( 0, 1, 1 );
# Can also parse strings
my $pink = Convert::Color::HSV->new( '0,0.7,1' );
Via Convert::Color:
use Convert::Color;
my $cyan = Convert::Color->new( 'hsv:300,1,1' );
DESCRIPTION
Objects in this class represent a color in HSV space, as a set of three floating-point values. Hue is stored as a value in degrees, in the
range 0 to 360 (exclusive). Saturation and value are in the range 0 to 1.
CONSTRUCTOR
$color = Convert::Color::HSV->new( $hue, $saturation, $value )
Returns a new object to represent the set of values given. The hue should be in the range 0 to 360 (exclusive), and saturation and value
should be between 0 and 1. Values outside of these ranges will be clamped.
$color = Convert::Color::HSV->new( $string )
Parses $string for values, and construct a new object similar to the above three-argument form. The string should be in the form
hue,saturation,value
containing the three floating-point values in decimal notation.
METHODS
$h = $color->hue
$s = $color->saturation
$v = $color->value
Accessors for the three components of the color.
( $hue, $saturation, $value ) = $color->hsv
Returns the individual hue, saturation and value components of the color value.
SEE ALSO
o Convert::Color - color space conversions
o Convert::Color::RGB - a color value represented as red/green/blue
AUTHOR
Paul Evans <leonerd@leonerd.org.uk>
perl v5.12.3 2011-06-15 Convert::Color::HSV(3pm)