Is their a way to grep for only one occurrence? Here is an example:
given the file information:
BCX 3 5
BCX 23 94
BNG 34 34
BCX 2 09
if I do:
grep BCX ./file
then i get them all, how can i get just one of them. But let's say there could be a variable number of the desired... (5 Replies)
Hi everyone- I'm creating an asset database for our company and the previous person who worked on this began categorizing servers in this manner:
Hardware
Server
Windows (or Unix)
I stated that Windows and Unix are software, not hardware and don't describe the physical box in any way.... (4 Replies)
# od -c .
od: .: read error: Is a directory
0000000
I read the book about shell (Kernighan, Pike) and some exaples (like this) does not work.
I read this book carefully (because I think now quickly) even reread to better understand.
In this book there is a good example how to see what a... (2 Replies)
Hi,
I am trying to buy a netbook with Ubuntu pre-installed. I have looked for hours and have not found anything. Calls to Dell, HP, Toshiba have confirmed them NOT selling Ubuntu preloaded laptops. This leads me to look for a netbook that can handle Ubuntu.
Getting to the point... I think I... (4 Replies)
I've been thinking about modern CPUs. Apart from x86 and SPARC, is there any other 'kind' of CPU used today in computers (not in playstation3, phones and similar) (6 Replies)
Hi guys and gals...
Intel reportedly expects Apple to start the Mac's transition to ARM next year - 9to5Mac (0 Replies)
Discussion started by: wisecracker
0 Replies
LEARN ABOUT DEBIAN
sensors
sensors(1) Linux User's Manual sensors(1)NAME
sensors - print sensors information
SYNOPSIS
sensors [ options ] [ chips ]
sensors -s [ chips ]
sensors --bus-list
DESCRIPTION
sensors is used to show the current readings of all sensor chips.
sensors -s is used to set all limits as specified in the configuration file.
sensors --bus-list is used to generate bus statements suitable for the configuration file.
OPTIONS -c config-file
Specify a configuration file. If no file is specified, the libsensors default configuration file is used. Use `-c /dev/null' to tem-
porarily disable this default configuration file.
-h Print a help text and exit.
-s Evaluate all `set' statements in the configuration file and exit. You must be `root' to do this. If this parameter is not specified,
no `set' statement is evaluated.
-A Do not show the adapter for each chip.
-u Raw output. This mode is only meant for debugging.
-v Print the program version and exit.
-f Print the temperatures in degrees Fahrenheit instead of Celsius.
--bus-list
Generate bus statements suitable for using in sensors.conf. Such bus statements are only needed if you have several chips sharing
the same address on different buses of the same type. As bus numbers are usually not guaranteed to be stable over reboots, these
statements let you refer to each bus by its name rather than numbers.
FILES
/etc/sensors3.conf
/etc/sensors.conf
The system wide configuration file. See sensors.conf(5) for further details.
SEE ALSO sensors.conf(5)AUTHOR
Frodo Looijaard and the lm_sensors group http://www.lm-sensors.org/
lm-sensors 3 October 2007 sensors(1)