10-17-2007
kindly shed some light on it
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
hi!,
is there any way to retrieve a file that I have deleted few minutes back?? I am using Solaris- 5.6..
:rolleyes: (2 Replies)
Discussion started by: jyotipg
2 Replies
2. Shell Programming and Scripting
Hi,
I'm a begginer in Unix Scripting and i'm trying to write a script that performs this functions..
1. Rlogin to a system
2. Copy a Perl script inTO the system
3. Run the Perl Script
4. Retrieve the result(file) of the Perl Script
5. Copy the result file to a single system
6. Logout of... (3 Replies)
Discussion started by: vicesjr
3 Replies
3. UNIX for Advanced & Expert Users
hi
The "ps" command shows the command line arguments of running processes:
$ /bin/ps -o pid,args -e
....
26031 pico /tmp/crontab2KaG1Y
596 /usr/lib/sendmail -bd -q15m
9955 xterm -n 1 -sb -sl 800 -g 80+70+70
2627 /usr/sbin/snmpd -Lsd -Lf /dev/null -p /var/run/snmpd -a 1691
....
I... (2 Replies)
Discussion started by: Andrewkl
2 Replies
4. UNIX for Dummies Questions & Answers
Hi one and all,
I'm working on a Bash script that is designed to calculate how much IP traffic has passed through a port to determine traffic volume over a given amount of time.
I've currently been able to use the netstat -s command coupled with grep to write to a file the total packets... (13 Replies)
Discussion started by: nistleloy
13 Replies
5. Shell Programming and Scripting
Alright, so I am trying to use perl (or any other shell scripting language, awk/sed/bash for instance), to retrieve the mime-type of a file.
I want to keep it in one file, and most of the modules that are on cpan that check for mime types (Magic), aren't installed on these boxes.
Anyone have... (2 Replies)
Discussion started by: Rhije
2 Replies
6. UNIX for Dummies Questions & Answers
Hi..
I have a dat file containing both column names and data. Now I want to get only Particular row along with the column names.
My dat fiel is as below
EmpName Dept Salary
Shally Admin 20000
Swati HR 15000
Deepali IT 45000
Preetika EEE 60000
Now I want to display only row 3rd along... (5 Replies)
Discussion started by: Mayuri P R
5 Replies
7. UNIX for Advanced & Expert Users
Hi Gurus,
The requirement is to collect the timestamp of soft links and collect it in a file in the following pattern:
This is the expected output:
Pattern:
MM/DD/YYYY hh:mi:ss filename
Example:
12/26/2008 10:31:09 <Filename>.zip
The closest way I could get was this:
ls... (8 Replies)
Discussion started by: jidsh
8 Replies
8. Shell Programming and Scripting
Hi,
I have a number of firewalls that send there traffic logs to a syslog server.
Each log entry takes up about 3 lines and the text within the log entry is delimited by a space. There are parts of the three lines that I need from every traffic log entry. I have been using a combination of sed,... (2 Replies)
Discussion started by: andyblaylock
2 Replies
9. Shell Programming and Scripting
Hi All..
I have a Filename as
FAB1_600015_CONRAD.A0_7XYZ12345.000_LT-SWET.01_LTPA25L_20110622-161429_07_WFR12345_20110622-161429_20110712-125228.data.dis
I want to get the result as... (5 Replies)
Discussion started by: asheshrocky
5 Replies
10. Shell Programming and Scripting
Hello experts :cool:,
I am new to programming and will need your help.. I have 2 very large files with the following format:
FILE1:
>MLP1019 PL4
>MLP7456 PL3
>MLP9268 PL9
>MLP6245 PL1
FILE2:
>MLP1019
STNAPLQTSNTWVSYQPSMMMSLQ
>MLP7456
PPYWYWNSAVMIFYVQPLSLLAVLLA
>MLP9268... (2 Replies)
Discussion started by: narachaid
2 Replies
LEARN ABOUT HPUX
vga_setegacolor
vga_setegacolor(3) Svgalib User Manual vga_setegacolor(3)
NAME
vga_setegacolor - set the current color
SYNOPSIS
#include <vga.h>
void vga_setegacolor(int color);
DESCRIPTION
Set the current color to be a color resembling the color-th EGA coler. This works regardless of the depth of the current video mode.
The color is used by vga_drawpixel(3) and vga_drawline(3).
Valid values for color are:
0 - black.
1 - blue.
2 - green.
3 - cyan.
4 - red.
5 - magenta.
6 - brown.
7 - grey.
8 - dark grey (light black).
9 - light blue.
10 - light green.
11 - light cyan.
12 - light red.
13 - light magenta.
14 - yellow (light brown).
15 - white (light grey).
The fun(6) and vgatest(6) demos show the basic use of this function.
SEE ALSO
svgalib(7), vgagl(7), libvga.config(5), fun(6), vgatest(6), vga_setcolor(3), vga_setrgbcolor(3), vga_drawpixel(3), vga_drawline(3)
AUTHOR
This manual page was edited by Michael Weller <eowmob@exp-math.uni-essen.de>. The exact source of the referenced function as well as of the
original documentation is unknown.
It is very likely that both are at least to some extent are due to Harm Hanemaayer <H.Hanemaayer@inter.nl.net>.
Occasionally this might be wrong. I hereby asked to be excused by the original author and will happily accept any additions or corrections
to this first version of the svgalib manual.
Svgalib (>= 1.2.11) 27 July 1997 vga_setegacolor(3)