i need to make sure that a command line paramter is with in a certin set of numbers and i dont know how todo it with out checking individual numbers.
if test $1 -eq (need something here)
then
echo hi
fi
like if i put individual numbers in there it works fine but how do i do a range (3 Replies)
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)
Hello Friends,
On one of my Solaris 10 box, CPU usage shows 100% using "sar", "vmstat". However, it has 4 CPUs and prstat and glance are not showing enough processes to justify high CPU utilization.
=========================================================================
$ prstat -a
... (4 Replies)
Hello Friends
I want to use sed command to pick a part of line. FOr example I only need the
/home_put1/bidds/myfo
part of following line
fish://ulavet@rits1.ula.com.tr/home_put1/bidds/myfo
How can I do this bu using sed command ? (2 Replies)
Hi,
I have 80 large files, from which I want to get a specific value to run a Bash script. Firstly, I want to get the part of a file which contains this:
Name =A
xxxxxx
yyyyyy
zzzzzz
aaaaaa
bbbbbb
Value = 57
This is necessary because in a file there are written more lines which... (6 Replies)
root:/>
# lscfg -vp|grep -c -E 'proc.*Processor'
8
root:/>
# lscfg -vpl sysplanar0 | grep -i way
8 WAY PROC CUOD :
8 WAY PROC CUOD :
8 WAY PROC CUOD :
8 WAY PROC CUOD :
8 WAY PROC CUOD :
8 WAY PROC CUOD :
I have this output and need to know how... (3 Replies)
my requirement is,
consider a file output
cat output
blah sdjfhjkd jsdfhjksdh
sdfs 23423 sdfsdf sdf"sdfsdf"sdfsdf"""""dsf
hellow there
this doesnt look good
et cetc etc
etcetera
i want to replace a line of line number 4 ("this doesnt look good") with some other line
... (3 Replies)
Hi,
I am working on Shell script and I have a .dat file in which I want to add line numbers. Please see below example file
Input File:
19523479811841494432C2013052700000000
19523479811730333980A2013052700000000
19523479811417044397I2013052700000000
19523479811205895810A2013052700000000... (7 Replies)
Sed command to replace a line in a file using line number from the output of a pipe.
Is it possible to replace a whole line piped from someother command into a file at paritcular line...
here is some basic execution flow..
the line number is 412
lineNo=412
Now i have a line... (1 Reply)
Discussion started by: vivek d r
1 Replies
LEARN ABOUT FREEBSD
hme
HME(4) BSD Kernel Interfaces Manual HME(4)NAME
hme -- Sun Microelectronics STP2002-STQ Ethernet interfaces device driver
SYNOPSIS
To compile this driver into the kernel, place the following lines in your kernel configuration file:
device miibus
device hme
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):
if_hme_load="YES"
DESCRIPTION
The hme driver supports Sun Microelectronics STP2002-STQ ``Happy Meal Ethernet'' Fast Ethernet interfaces.
All controllers supported by the hme driver have TCP checksum offload capability for both receive and transmit, support for the reception and
transmission of extended frames for vlan(4) and a 128-bit multicast hash filter.
HARDWARE
The hme driver supports the on-board Ethernet interfaces of many Sun UltraSPARC workstation and server models.
Cards supported by the hme driver include:
o Sun PCI SunSwift Adapter (``SUNW,hme'')
o Sun SBus SunSwift Adapter (``hme'' and ``SUNW,hme'')
o Sun PCI Sun100BaseT Adapter 2.0 (``SUNW,hme'')
o Sun SBus Sun100BaseT 2.0 (``SUNW,hme'')
o Sun PCI Quad FastEthernet Controller (``SUNW,qfe'')
o Sun SBus Quad FastEthernet Controller (``SUNW,qfe'')
NOTES
On sparc64 the hme driver respects the local-mac-address? system configuration variable which can be set in the Open Firmware boot monitor
using the setenv command or by eeprom(8). If set to ``false'' (the default), the hme driver will use the system's default MAC address for
all of its devices. If set to ``true'', the unique MAC address of each interface is used if present rather than the system's default MAC
address.
Supported interfaces having their own MAC address include on-board versions on boards equipped with more than one Ethernet interface and all
add-on cards except the single-port SBus versions.
SEE ALSO altq(4), intro(4), miibus(4), netintro(4), vlan(4), eeprom(8), ifconfig(8)
Sun Microelectronics, STP2002QFP Fast Ethernet, Parallel Port, SCSI (FEPS) User's Guide,
http://mediacast.sun.com/users/Barton808/media/STP2002QFP-FEPs_UG.pdf, April 1996.
HISTORY
The hme driver first appeared in NetBSD 1.5. The first FreeBSD version to include it was FreeBSD 5.0.
AUTHORS
The hme driver was written by Paul Kranenburg <pk@NetBSD.org>.
BSD June 14, 2009 BSD