08-30-2006
Of course , check this
link
Cheers
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
New to shell scripting.
I can't get my script to execute multiple commands.
Here's the code. It's a menu script.
#!/bin/ksh
clear
print "SDE MENU"
PS3="SDE MENU, enter choice:"
select clean_menu in "tasdedev instance 5151" "orkindev instance 5155" "tasdetst
instance 5157" "orkinsys... (1 Reply)
Discussion started by: hvincent
1 Replies
2. Shell Programming and Scripting
I am checking that a file is older than a reference file that I build with a touch command before processing it. If it is not old enough, I want to sleep for an hour and check again.
My problem is if it is old enough to process, I want to exit when I am done, but I cannot find a way to exit... (2 Replies)
Discussion started by: prismtx
2 Replies
3. UNIX for Dummies Questions & Answers
have to run multiple commands at a
specified time by the user... (3 Replies)
Discussion started by: hemaa
3 Replies
4. Shell Programming and Scripting
Hi,
I have one text file input.txt, which has folders path as follows:
/home/user/automate/abc
/home/user/automate/abc/xyz
/home/user/automate/test
/home/user/automate/test2
/home/user/automate/test2/abc/Main
In those folders i have .svn folder.
1) First i want to remove .svn like rm... (5 Replies)
Discussion started by: dragon.1431
5 Replies
5. Shell Programming and Scripting
Requirement:
Run a shell script with below inputs
file name
checksum
path
the script should go to multiple servers (around 35) and verify the input cksum and if there is a mismatch display a simple message to the user that cksum verification failed.
host details, user id /... (1 Reply)
Discussion started by: amicableperson
1 Replies
6. Shell Programming and Scripting
Hi,
I am using solaris 10 and bash shell.Script execution follows below.Initially it will check whether a directory exists or not if does not exist it will create it.(This I have completed)
Second step:I have four users say user1,user2,user3,user4.Script should prompt for the user id and... (11 Replies)
Discussion started by: muraliinfy04
11 Replies
7. Shell Programming and Scripting
for example:
I'm greping the process where i can get the location of the file
$ ps -ef | grep LLAWP | awk {'print $9'} | tail -1
/Hostname/ihs/INSTANCE2/conf/WebAgent.conf
then I need to display second line of WebAgent.conf file:
$ cat /Hostname/ihs/INSTANCE1/conf/WebAgent.conf | head... (2 Replies)
Discussion started by: raghur77
2 Replies
8. Shell Programming and Scripting
Let's say I have a file called test.out. In this file I want to do the following:
1. Search for DIP-10219 and with this:
2. Remove everything in front of cn=
3. Remove everything after *com
4. Remove duplicate lines
5. Replace ( with \(
6. Replace ) with \)
For 1-3 I have figured out this... (11 Replies)
Discussion started by: exm
11 Replies
9. Shell Programming and Scripting
Hi
I need to write a script to ssh through several hops (e.g. HostA-HostB-HostC-HostD), where Host A does not have direct assess to HostC ; HostB cannot access HostD directly.
when I ssh 3 hops and run command with arg1, arg2 and redirect the output to a file, e.g.
HostA> ssh -t HostB ssh -t... (3 Replies)
Discussion started by: chiensh
3 Replies
10. Shell Programming and Scripting
Hello. There is my one-liner to get subjects of potential spam mails
sudo exiqgrep -bf "spamer@example.com" |cut -d' ' -f1 |xargs -I ~ sudo /usr/sbin/exim -Mvh ~ |grep 'Subject: '
I want to insert blank line after each iteration to make output more readable. I tried
sudo exiqgrep -bf... (1 Reply)
Discussion started by: urello
1 Replies
LEARN ABOUT DEBIAN
opensearch-discover
OPENSEARCH-DISCOVER(1) User Contributed Perl Documentation OPENSEARCH-DISCOVER(1)
NAME
opensearch-discover - Find an OpenSearch link from a given URL.
SYNOPSIS
opensearch-discover [-q] [-v] [-t TITLE] [-1|-a] [-h] [URL]
DESCRIPTION
Loads the given URL, searches it for a link to an OpenSearch description URL, and prints that URL.
OPTIONS
-q, --quiet
Give no output on errors. In this case, consult the exit code to determine errors (See "DIAGNOSTICS").
-v, --verbose
Verbose: display titles with links. Combine with -a to see all available searches
-t TITLE, --title=TITLE
Only display links matching TITLE, a case-insensitive perl regular expression. For example, -t book would match Book Search, and -t
b.*k would match Book Search or Baby Springbok.
-1, --first
Only display first (matching) link. This is the default.
-a, --all
Display all (matching) links.
-h, --help
Display a short help message.
DIAGNOSTICS
On success, prints the address of the OpenSearch description file and returns 0.
If it cannot load the given URL, it returns 1.
If the given URL does not contain a link to an OpenSearch description file, it returns 2.
If required perl modules are missing, it returns 3.
DEPENDENCIES
Requires modules from libwww-perl and HTML::Parser (Debian package libhtml-parser-perl).
BUGS
None known. Please report any found to ianb@erislabs.net
SEE ALSO
opensearch(1), opensearch-genquery(1), surfraw(1), WWW::OpenSearch(3pm), <http://www.opensearch.org/>
AUTHOR
Ian Beckwith <ianb@erislabs.net>
COPYRIGHT AND LICENSE
Copyright 2006 Ian Beckwith <ianb@erislabs.net>
Licensed under the same terms as surfraw.
perl v5.12.4 2011-07-12 OPENSEARCH-DISCOVER(1)