05-22-2009
works fine, thanks very much!
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello there peeps:
There is a little piece of bash shell scripting problem i have, which i was hoping you could help me with.
#!/bin/bash
stored_word()
{
case $(( $$ % 8 )) in
0 ) echo "energy";;
1 ) echo "touch";;
2 ) echo "climbing";;
3 ) echo... (3 Replies)
Discussion started by: keyvan
3 Replies
2. UNIX for Dummies Questions & Answers
Hello,
I'm confused (oh, yes). I'm running Linux at work. When I type 'echo $SHELL' I am told that I'm running tcsh. In /bin I note that both tcsh and bash are listed.
Question 1: Can I swap to run bash rather than tcsh and, if so, how will this affect my system? Is there any advantage to... (6 Replies)
Discussion started by: macpete
6 Replies
3. Shell Programming and Scripting
hi all
i'm trying to get a script working upon connection with pppd
According to docu this happens ina clean environment with a couple of variables set, namely $1,$2,...
To be able to execute the statements i included a path statement but i think i'm running into trouble with the variables -... (6 Replies)
Discussion started by: jimjones
6 Replies
4. Shell Programming and Scripting
Hi,
can anyone help me with my scrip please. I wanted do following tasks:
1. List all the directory
2. A STDIN to ask user to enter a directory name from listed directories
3. command to check if the directory exists( or a command to validate if the user entered a valid directory name)... (3 Replies)
Discussion started by: eminjan
3 Replies
5. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
i have to do this but i am confused,
Create a file containing the bash functions which perform the... (1 Reply)
Discussion started by: CRAZYLITTLELOU
1 Replies
6. Solaris
deleteing post (0 Replies)
Discussion started by: dshakey
0 Replies
7. Shell Programming and Scripting
have this code but when i run it i get this error
./pulse: line 2: and here is the code
#!/bin/bash
if ;
then
pulseaudio -k;
fi
what am i doing wrong
thanks
Adam (5 Replies)
Discussion started by: ab52
5 Replies
8. Shell Programming and Scripting
Hello everyone!!!! I am new to this forum ...I have a problem. And I thought that you are expert :) so you can help me with that... I have a text file with maaany lines. Every line begins with something like that:
<http aksjfskcuhrf kushkfsnus> <http sxnfrksehfsd gsdg r> I don't know if every... (16 Replies)
Discussion started by: mary_elen
16 Replies
9. Shell Programming and Scripting
Hello to all,
May somebody help me to fix my bash code below, I'd like to do it only using loops and if statements is possible.
I the content of the arrays are represented by the following 2 strings, where each character is an element inside the array.
String for case 1:... (10 Replies)
Discussion started by: Ophiuchus
10 Replies
LEARN ABOUT DEBIAN
irdaping
IRDAPING(8) IRDAPING(8)
NAME
irdaping - sends IrDA test frames
SYNOPSIS
irdaping [ daddr ] [ -s framesize ]
OPTIONS
daddr ...
-s framesize ...
DESCRIPTION
This is a program similar to ping(8). It sends IrDA test frames (added some userdata which contains the frame number and the time the frame
was sent). You can change the size of the frame by using the -s option. To get daddr you may use irdadump.
irdaping must be run as root or installed setuid root, as it requires root privileges.
EXAMPLES
irdaping <daddr> [-s <framesize>]
You may use an alias, which does not use any parameter alias irping="irdaping `grep daddr /proc/net/irda/discovery|sed s/.*daddr://`" It
works fine when there is only one discovered client.
DIAGNOSTICS
N.N.
BUGS
N.N.
SEE ALSO
irattach(8), irdaping(8), irdadump(8), findchip(8), irpsion5(8), modprobe(8)
Linux/IrDA Project http://irda.sourceforge.net -*- Linux/IrDA-Tutorial http://www.hpl.hp.com/personal/Jean_Tourrilhes/IrDA/index.html -*-
Infrared-HOWTO http://tuxmobil.org/howtos.html
AUTHOR
This manual page is written by Werner Heuser <wehe@tuxmobil.org>. It is based on the READMEs from irda-utils by the Linux/IrDA Project and
the Linux/IrDA-Tutorial.
COPYRIGHT
Copyright (c) 2001 Werner Heuser
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License (GFDL), Version
1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts and no Back-Cover
Texts.
03 July 2006 IRDAPING(8)