01-09-2006
You can post your solution so that others can learn.
From the archives... here is another possible solution.. It could be more than what you asked for...
making a .sh wait for user input
Vino
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All
I am doing a locate <file_name> on my Redhat 7 System. I am unable to get the output. All the keep getting is:
locate: this is not a vlaid slocate database: /var/lib/locate/slocate.db
What des this mean? Is my system compromised?
Thanks in advance.
KS (13 Replies)
Discussion started by: skotapal
13 Replies
2. Post Here to Contact Site Administrators and Moderators
Whenever I see I post, I keep on seeing "IP: Logged" on the lower left-hand corner of the post (I do not click the logged link). And when I preview a user, I get "Administrative Options" on the bottom of the page.
It is just strange that all of a sudden, I get these uneeded features. (1 Reply)
Discussion started by: Danny_10
1 Replies
3. Shell Programming and Scripting
Hi,
When I give the following
$ ps -ef | grep `echo $var1` | grep -v "grep `echo $var1`" | awk '{print $3}' | grep -v `echo $var1
80892
But when I give the following (made as command substitution) , I get error
$var2=`ps -ef | grep `echo $var1` |... (2 Replies)
Discussion started by: preetikate
2 Replies
4. Solaris
Hi all,
Thanks for any replies and for reading in advance.
We have upgraded one of our database instances to 10g on a Solaris 8 box, anyhow the other day it started trying to ping loads of weird IP addresses that we don't use, since our systems all run on pretty similar IP's. It all behind... (0 Replies)
Discussion started by: B14speedfreak
0 Replies
5. Shell Programming and Scripting
Does anyone know what the microprograms behind cat (and other commands) are like? In what language are those programs designed? Is their source available somewhere?
No particular reason, just wondering.
I know it's a bit strange... (3 Replies)
Discussion started by: sanchopansa
3 Replies
6. UNIX for Dummies Questions & Answers
I have created a server monitor program in Java that connects to servers via SSH and constantly refreshes the new server load every 3 mins. The problem is that even though it is a Java app running shell commands to get the load info, the commands still appear in 'history'.
The question is.. is... (1 Reply)
Discussion started by: AndrewSH
1 Replies
7. Solaris
Dear Solarizer,
Every time i log in to the sheel i always got this messages,
How to stop this messgaes permanently.
tpx@plood/export/home/ $ Jul 29 11:35:00 plood sendmail: unable to qualify my own domain name (plood) -- using short name
Jul 29 11:35:00 plood sendmail: unable to qualify... (3 Replies)
Discussion started by: tpx99
3 Replies
8. UNIX for Dummies Questions & Answers
Hello All,
Have had an FTP transmission stop dead in its tracks this morning and the invoked shell script still running hours later.
We have an FTP routine calls a remote site to deposit files on a daily basis. This morning the FTP didn't complete, but did connect to the remote service (as... (4 Replies)
Discussion started by: Cameron
4 Replies
9. Shell Programming and Scripting
hello all,
i am having problem in accessing a directory.I dont think its a permission issue.can anyone help me out. I am using korn sell
code:
$ ls -ltr sc*
lrwxrwxrwx 1 essbase essbase 21 Oct 8 2010 sc_ssp -> /work/nfs/nas2/sc_ssp
$ cd sc_ssp
ksh: sc_ssp: not found
$ (6 Replies)
Discussion started by: manid
6 Replies
LEARN ABOUT CENTOS
sieveshell
SIEVESHELL(1) User Contributed Perl Documentation SIEVESHELL(1)
NAME
sieveshell - remotely manipulate sieve scripts
SYNOPSIS
sieveshell [--user=user] [--authname=authname] [--realm=realm] [--exec=script] server[:port]
sieveshell --help
DESCRIPTION
sieveshell allows users to manipulate their scripts on a remote server. It works via MANAGESIEVE, a work in progress.
The following commands are recognized:
list list scripts on server.
put <filename> upload script to server.
get <name> [<filename>] get script. if no filename display to stdout
delete <name> delete script.
activate <name> activate script.
deactivate deactivate all scripts.
OPTIONS
-u user, --user=user
The authorization name to request; by default, derived from the authentication credentials.
-a authname, --authname=authname
The user to use for authentication (defaults to current user).
-r realm, --realm=realm
The realm to attempt authentication in.
-e script, --exec=script
Instead of working interactively, run commands from script, and exit when done.
REFERENCES
[MANAGESIEVE] Martin, T.; "A Protocol for Remotely Managing Sieve Scripts", draft-ietf-managesieve-03.txt, Mirapoint, Inc.; May 2001, work
in progress.
AUTHOR
Tim Martin <tmartin@mirapoint.com>, and the rest of the Cyrus team <cyrus-bugs@andrew.cmu.edu>.
perl v5.16.3 2014-06-10 SIEVESHELL(1)