10 More Discussions You Might Find Interesting
1. Red Hat
Cheers!
In /etc/syslog.conf, if an error type is not specified, is it logged anywhere (most preferable is it logged to /var/log/messages) or not?
To be more precise I am interested in error and critical level messages. At default these errors are not specified in syslog.conf, and I need to... (6 Replies)
Discussion started by: dr1zzt3r
6 Replies
2. Shell Programming and Scripting
Hi, guys, I'm a new comer here. I'm studying Unix Shell and I met a problem confusing me a lot. Here it is :
script 1:
#!/bin/sh
# scriptname : do_increment
increment(){
sum=`expr $1 + 1`
return $sum # Return the value of sum to the script.
}
echo -n "The sum is "
increment $1 # Call... (2 Replies)
Discussion started by: franksunnn
2 Replies
3. UNIX for Dummies Questions & Answers
Hello, I have a quick question that is not related to homework in any way shape or form (in case anyone wanted to know). My question is thus:
I have a file "temp" that has the two values say "5" and "3" (separated by a white space). Now, I want to simply write an if-else statement that reads... (10 Replies)
Discussion started by: astropi
10 Replies
4. UNIX for Dummies Questions & Answers
Hello
I'm searching some kind of example (or ready-made solution, but I don't really want it, because I want to learn awk more), to make something like a parser in awk for something like this (I put example, because I don't really know how to explain this):
line1=1
line2=0
line3=1... (23 Replies)
Discussion started by: jormung
23 Replies
5. Shell Programming and Scripting
I am having trouble making this statement work. I am passing in a number value for the number of days to keep archive logs for and wanted to make sure that it is a number. I have a script that will return 1 for is a number and 0 for is not a number. I also want to make sure that the number is not... (2 Replies)
Discussion started by: gandolf989
2 Replies
6. Shell Programming and Scripting
Hi,
Please don't berate me over the simplicity of these questions. I have recently gotten into bash shell scripting and enjoy it quite a bit. One thing I have not found the answer to though is when naming a shell script, what extension is normally used (ie myscript.?)? Also where is the standard... (5 Replies)
Discussion started by: msb65
5 Replies
7. Programming
Hello. I'm a complete newbie to C programming. I have a C program that wasn't written by me where I need to write some wrappers around it to automate and make it easier for a client to use. The problem is that the program accepts standard input to control the program... I'm hoping to find a simple... (6 Replies)
Discussion started by: Xeed
6 Replies
8. UNIX for Dummies Questions & Answers
i'm trying to make a script that prints the name of the script for any command line parameter, here is what i have, and get `]]' unexpected:
what am i doing wrong? (3 Replies)
Discussion started by: tefflox
3 Replies
9. UNIX for Dummies Questions & Answers
Ok what is BSD exactly? I know its a type of open source but what is it exactly? (1 Reply)
Discussion started by: Corrail
1 Replies
10. UNIX for Dummies Questions & Answers
I've been a Linux user for quite some time, started out with Red Hat and Mandrake, and just recently moved to Slackware linux.... my question is this:
Is there a big difference between Linux and Unix? If so, what?
I was just looking at Sun's Solaris 8 thats free for download on Intel... (5 Replies)
Discussion started by: Cuthbert
5 Replies
GSM0710MUXD(1) User Commands GSM0710MUXD(1)
NAME
gsm0710muxd - GSM 07.10 Multiplexer (freesmartphone.org version)
SYNOPSIS
gsm0710muxd [options]
OPTIONS
-d: Fork, get a daemon [no]
-v: verbose logging
-s <serial port name>: Serial port device to connect to [/dev/ttySAC0]
-t <timeout>: reset modem after this number of seconds of silence [0]
-P <pin-code>: PIN code to unlock SIM [-1]
-p <number>: use ping and reset modem after this number of unanswered pings [0]
-x <dir>: power managment base dir [<not set>]
-b <baudrate>: mode baudrate [115200]
-m <modem>: Mode (basic, advanced) [advanced]
-f <framsize>: Frame size [64]
-h: Show this help message and show current settings.
-V: Show the version number.
COPYRIGHT
Copyright (C) 2003, 2006 Tuukka Karvonen <tkarvone@iki.fi>
Copyright (C) 2004 David Jander <david@protonic.nl>
Copyright (C) 2006 Antti Haapakoski <antti.haapakoski@iki.fi>
Copyright (C) 2006 Vasiliy Novikov <vn@hotbox.ru>
Copyright (C) 2008 M. Dietrich <mdt@emdete.de>
gsm0710muxd is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
freesmartphone.org June 2009 GSM0710MUXD(1)