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)
i have the following line:
</PRE></TD></TR><TR><TD><B>Events in</B></TD><TD>95</TD></TR><TR><TD><B>Events/sec</B></TD><TD>0</TD></TR><TR><TD><B>Messages out</B></TD><TD>95</TD></TR><TR><TD><B>Messages/sec
i want get the value of Messages out which has value 95 exists in same row.
can... (1 Reply)
Hi,
I have text file in the following strucher .
The files contain hondreds of lines.
value1;value2;value3;value4
I would like to get back the line with lowest date (values4 field).
In this case its line number 3.
groupa;Listener;1;20110120162018
groupb;Database;0;20110201122641... (4 Replies)
Hi
i have a file which have a pattern like this
Nov 10 session closed
Nov 10 Nov 9 08:14:27 EST5EDT 2010 on tty .
Nov 10 Oct 19 02:14:21 EST5EDT 2010 on pts/tk .
Nov 10 afrtetryytr
Nov 10 session closed
Nov 10 Nov 10 03:21:04 EST5EDT 2010
Dec 8 Nov 10 05:03:02 EST5EDT 2010
... (13 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)
I need some help. I would like to read in a text file.
Take a variable such as ROW-D-01, compare it to what's in one line in the text file such as PROD/VM/ROW-D-01 and only input PROD/VM into a variable without the /ROW-D-01.
Is this possible? any help is appreciated. (2 Replies)
Hi,
I need to assign values from a lines in a file into variables in unix, i am using Korn shell.
I tried the below script from posts but i am unable to fetch every value in a variable.
#! /usr/bin/ksh
#for file in test.txt; do
IFS=$'\|'
I=1
while read -a val
do
echo... (15 Replies)
Hi ,
i have a file wich have 50+ of numbers like :
0.014544106
0.005464263
0.014526045
0.005484374
0.014539412
0.005467600
0.014558349
0.005452185
i would like to display the list from the 6th bit to the end for example
0.005452185 (should become) 2185.
I've tried with ... (4 Replies)
Discussion started by: Board27
4 Replies
LEARN ABOUT DEBIAN
gammu-detect
GAMMU-DETECT(1) Gammu GAMMU-DETECT(1)NAME
gammu-detect - Gammu device detection
New in version 1.28.95.
SYNOPSIS
gammu-detect [OPTIONS]
DESCRIPTION
Script to detect available devices, which might be suitable for gammu.
Note This program lists all devices, which might be suitable, it does not do any probing on devices them self.
Currently it supports following devices:
o USB devices using udev
o Serial ports using udev
o Serial ports on Windows
o Bluetooth devices using Bluez
Note Supported devices depend on platform you are using and compiled in features. You can find out what is actually compiled in by run-
ning gammu-detect -v.
This program follows the usual GNU command line syntax, with long options starting with two dashes (--). A summary of options is included
below.
-h, --help
Show summary of options.
-d, --debug
Show debugging output for detecting devices.
-v, --version
Show version information and compiled in features.
-u, --no-udev
Disables scanning of udev.
-b, --no-bluez
Disables scanning using Bluez.
-w, --no-win32-serial
Disables scanning of Windows serial ports.
OUTPUT
The output of gammu-detect is configuration file for Gammu (see gammurc) with configuration section for every device which might be used
with gammu.
Note You can choose which section to use in gammu by gammu -s.
When invoked as gammu-detect -d, also all examined devices are listed as comments in the output.
EXAMPLE
; Configuration file generated by gammu-detect.
; Please check The Gammu Manual for more information.
[gammu]
device = /dev/ttyACM0
name = Nokia E52
connection = at
[gammu1]
device = /dev/ttyACM1
name = Nokia E52
connection = at
[gammu2]
device = /dev/ttyS0
name = Phone on serial port 0
connection = at
[gammu3]
device = /dev/ttyS1
name = Phone on serial port 1
connection = at
[gammu4]
device = /dev/ttyS2
name = Phone on serial port 2
connection = at
[gammu5]
device = /dev/ttyS3
name = Phone on serial port 3
connection = at
[gammu6]
device = 5C:57:C8:BB:BB:BB
name = Nokia E52
connection = bluephonet
AUTHOR
Michal iha <michal@cihar.com>
COPYRIGHT
2009-2012, Michal iha <michal@cihar.com>
1.31.90 February 24, 2012 GAMMU-DETECT(1)