07-26-2013
Thanks for your reply. But its not working, can you tel me the exact steps that needs to be done to get this working. Please provide the format of commands or scripts to do this.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Is it possible to send SMS messages from an AIX unix machine?
Preferable using a unix script.
I hope somebody knows the answer. (3 Replies)
Discussion started by: chriss
3 Replies
2. HP-UX
Hi guys,
anyone knows exactly how to send sms to handphone from a unix server?
What is/are needed to perform such a task??Pls Advise. (1 Reply)
Discussion started by: alexjee
1 Replies
3. UNIX for Dummies Questions & Answers
Hi Guys,
have anyone tried sending a sms(short messaging) to handphone using unix server?? I would appreciate if anyone can tell me what is/are required to perform such a task. (6 Replies)
Discussion started by: alexjee
6 Replies
4. UNIX for Advanced & Expert Users
Hi,
Can any one tell me how to send SMS using Unix shell scripting. My scenario is whenever my count on particular tables exceeds beyond certain limit i need to trigger out an sms to the client. It could be better if there is no third party tools involved in it.
Thanks in advance... (9 Replies)
Discussion started by: sarojadevi
9 Replies
5. Shell Programming and Scripting
Hi,
Is it possible to send sms to a mobile from unix box using Shell Scripting?
I really wonder if anyone can help me with some information regarding how to setup the environment if possible.
Iam also searching and trying to setup the same.
My Environment:
HP-UX B.11.11 U 9000/800... (2 Replies)
Discussion started by: Omkumar
2 Replies
6. Shell Programming and Scripting
Hi all,
i'm trying to send an sms (notification sms) via a bash script executing throw crontab.
The script works fine, but the sms itsn't sent to me.
can you help me to resolve this issue, plz.
Thanks.
Yes - we probably COULD help you if you WOULD provide us with your script, the... (0 Replies)
Discussion started by: arezki76
0 Replies
7. Solaris
All,
I'm an in-experienced Solaris user, but our application is now hosted on Solaris 10, after being hosted on HPUX for many years.
In some of our scripts, we send a text message to a support persons cell phone using the mailx command:
echo "process count high on $HOST" | mailx -s... (2 Replies)
Discussion started by: turk22
2 Replies
8. Solaris
I would like assistance on a script that could send a text message to my mobile phone when I run a command and the text should be send only if a condition is met. I want to have a cron-job running every 10 minutes to check the system for overload conditons with a command:
more logfile.log | grep... (5 Replies)
Discussion started by: thinktank
5 Replies
9. Shell Programming and Scripting
Can anyone please help me to in scripting of sending sms through shell script (1 Reply)
Discussion started by: gargidas15
1 Replies
10. AIX
Hello AIXian :)
I'm trying to send SMS from my AIX server, but I can't find any good solution :confused:
Can anyone help me please to finish this task?
Many thanks (2 Replies)
Discussion started by: Mohannad
2 Replies
LEARN ABOUT SUNOS
dirname
basename(1) User Commands basename(1)
NAME
basename, dirname - deliver portions of path names
SYNOPSIS
/usr/bin/basename string [suffix]
/usr/xpg4/bin/basename string [suffix]
dirname string
DESCRIPTION
The basename utility deletes any prefix ending in / and the suffix (if present in string) from string, and prints the result on the stan-
dard output. It is normally used inside substitution marks (``) within shell procedures.
/usr/bin
The suffix is a pattern defined on the expr(1) manual page.
/usr/xpg4/bin
The suffix is a string with no special significance attached to any of the characters it contains.
The dirname utility delivers all but the last level of the path name in string.
EXAMPLES
Example 1: Setting environment variables
The following example, invoked with the argument /home/sms/personal/mail sets the environment variable NAME to the file named mail and the
environment variable MYMAILPATH to the string /home/sms/personal:
example% NAME=`basename $HOME/personal/mail`
example% MYMAILPATH=`dirname $HOME/personal/mail`
Example 2: Compiling a file and moving the output
This shell procedure, invoked with the argument /usr/src/bin/cat.c, compiles the named file and moves the output to cat in the current
directory:
example% cc $1
example% mv a.out `basename $1 .c`
ENVIRONMENT VARIABLES
See environ(5) for descriptions of the following environment variables that affect the execution of basename and dirname: LANG, LC_ALL,
LC_CTYPE, LC_MESSAGES, and NLSPATH.
EXIT STATUS
The following exit values are returned:
0 Successful completion.
>0 An error occurred.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
/usr/bin
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
/usr/xpg4/bin
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWxcu4 |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
SEE ALSO
expr(1), basename(3C), attributes(5), environ(5), standards(5)
SunOS 5.10 18 Mar 1997 basename(1)