Hi,
I have an expression using grep and nawk that captures the ID number of a given Unix process. It gets printed to screen but I don't know how to declare a variable to this returned value!
For example,
ps -ef|grep $project | grep -v grep | nawk '{print $2}'
This returns my number. How... (2 Replies)
... and there was absolutely nothing installed except fedora and ssh. I used yum to install vsftp and httpd, both start and ps shows they're running, and yet I can't connect with either of them. Where on earth or in redhat do I begin looking to unravel this one? I've overseen a server before but... (3 Replies)
Hi All,
I have written the below to add the numbers in a column. Postive numbers are unsigned and negative numbers are signed in the file. After the below cmd I am getting -0.00 , instead of 0.00. Can someone guide me on what I am missing in the cmd.
grep '^L' $FileName| awk -F"|" ' {... (7 Replies)
Hey folks,
not sure whether this or the security board is the right forum. If I failed, please move :)
So here's the problem:
I need to build a Linux environment in which only "signed" processes are allowed to run. When I say signed I don't mean a VeriSign signature like you know it from... (5 Replies)
Hi guys, I want to add a list of SIGNED numbers... but I don't know how to tell the computer to ADD THEM as signed, let me explain further:
when adding 200 + (-100) , it becomes 100, but in asm the computer always add them as unsigned, so I always get the 300. Do I have to add them in a... (4 Replies)
Why is my Live user signed into tty1 - 6?
A few details explaining the only changes I've made:
I downloaded Linux Mint 12. Burned, booted, and installed to hard drive. Performed updates. Downloaded Remastersys from repos. Remastered with updates (so I don't have to download them any... (3 Replies)
when a date type is considered signed and unsigned is that simple referring to - for signed and positive numbers for unsigned? Further if that is the case would mutiplying and dividing ect where 2 signed numbers, like (-2)*(-2) = 4 result in a unsigned. (3 Replies)
Hi guys...
Macbook Pro, 13", circa August 2012, OSX 10.7.5, default bash terminal.
I require the capability to convert +32767 to -32768 into signed hex words...
The example piece code below works perfectly except...
#/bin/bash
# sign.sh
# Unsign to sign...
while true
do
# I have used... (2 Replies)
Hi,
I have an issue with openssl. Basically I have a ca certificate which has expired and I have regenerated a new ca.cert from the ca.key file and I have concatenated the output of the new ca.crt file and ca-bundle.crt to a new ca-bundle.crt.
Have restarted apache, however I still get the... (1 Reply)
Discussion started by: maverick_here
1 Replies
LEARN ABOUT NETBSD
iteconfig
ITECONFIG(8) BSD System Manager's Manual ITECONFIG(8)NAME
iteconfig -- modify console attributes at run time
SYNOPSIS
iteconfig [-i] [-f file] [-v volume] [-p pitch] [-t msec] [-w width] [-h height] [-d depth] [-x offset] [-y offset] [color ...]
DESCRIPTION
iteconfig is used to modify or examine the attributes of the console bell and bitmapped console display. The console bell's volume, pitch,
and count may be specified, as well as the bitmapped display's width, height, horizontal and vertical offset, pixel depth, and color map.
The following flags are interpreted by iteconfig:
-i After processing all other arguments, print information about the console's state.
-f Open and use the terminal named by file rather than the default console /dev/ttye0.
-v Set the volume of the console bell to volume, which must be between 0 and 63, inclusive.
-p Set the pitch of the console bell to pitch, which must be between 10 and 1399.
-t Set the duration of the beep to msec milliseconds which must be between 1 and 5000 (5 seconds).
-w Set the width of the console display to width pixel columns. Width must be a positive integer.
-h Set the height of the console display to height pixel rows. Height must be a positive integer.
-d Set the number of bitplanes the console view should use to depth. For example, if depth is 3 then 8 colors will be used.
-x Set the horizontal offset of the console view on the monitor to offset pixel columns. The horizontal offset may be a positive or a
negative integer, positive being an offset to the right, negative to the left.
-y Set the vertical offset of the console view on the monitor to offset pixel rows. The vertical offset may be a positive or a negative
integer, positive being an offset down, negative up.
Any additional arguments will be interpreted as colors and will be used to supply the color values for the console view's color map, starting
with the first entry in the map. (See the COLOR SPECIFICATION section of this manual page for information on how to specify colors.) If
more colors are supplied than are usable by the console view, a warning is printed and the extra colors are ignored.
COLOR SPECIFICATION
Colors are hexadecimal numbers which have one of the following formats:
0xRRGGBB RR, GG, and BB are taken to be eight-bit values specifying the intensities of the red, green and blue components, respectively, of
the color to be used. For example, 0xff0000 is bright red, 0xffffff is white, and 0x008080 is dark cyan.
0xGG GG is taken to be an eight-bit value specifying the intensity of grey to be used. A value of 0x00 is black, a value of 0xff is
white, and a value of 0x80 is a grey approximately half way in between.
0xM M is taken to be the one-bit monochrome value to be used. A value of 0x1 is black, and a value of 0x0 is white.
BUGS
The iteconfig command is only available on the amiga and atari ports.
BSD February 3, 1994 BSD