03-19-2009
7 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
First time so excuse my ignorance please.
I may not be accurately describing the issue.
I have inherited a small lab mostly SUN V120s.
We lost power and are trying to recover.
Nope no backups...
The primary issue I have is 1 box is an Oracle Server.
It has 2 36Gb harddrives.
I am able to... (3 Replies)
Discussion started by: murphsr
3 Replies
2. UNIX for Dummies Questions & Answers
I am really stuck on something I am sure you all will find simple.
I am VERY new to shell scripting and I am trying to figure out how to do a or statement below. So if it = 11 or 31 then...
if ; then
Please keep in mind I do not know much on shell scripting and thank you in advance as... (8 Replies)
Discussion started by: LRoberts
8 Replies
3. Shell Programming and Scripting
Hi,
I want to do SSH on many different machines and then run some commands on them. A binary application randomly generates IP addresses and my script will take care of doing SSH.
$ ./IPGen.exe | ./myScript.sh
my script looks like this:
while read line; do
result1=$(ssh $line... (2 Replies)
Discussion started by: siavash
2 Replies
4. 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:
Hey whats up everyone,
Currently I'm stuck. In this question I have to use the following commands test, shift,... (7 Replies)
Discussion started by: AdamSahp
7 Replies
5. Homework & Coursework Questions
Good evening, I'm trying to do my own shell and I encountered some issues while creating it. Indeed when I try such a command I have
DAUPHINE> DAUPHINE> ls -l | grep terminal > fichier
DAUPHINE> cat fichier
My shell is named DAUPHINE
Whereas I should have:
Code:
... (0 Replies)
Discussion started by: AntoineCompagni
0 Replies
6. Post Here to Contact Site Administrators and Moderators
https://www.unix.com/shell-programming-and-scripting/264504-filter-blocks-awk.html
Can't see it anymore ..
Thanks ! (0 Replies)
Discussion started by: greycells
0 Replies
7. Shell Programming and Scripting
Hi,
i want use this Comand for my psql request
sh ssh -o StrictHostKeyChecking=no rootatemailaddress.de sudo psql -U postgres -c "select pg_terminate_backend(pid) from pg_stat_activity where datnam=\'$DB\';"'"
but the shell lost the inverted comma for datnam=\'$DB\'. The request deliver... (2 Replies)
Discussion started by: peterpane007
2 Replies
LEARN ABOUT DEBIAN
www::opensearch
WWW::OpenSearch(3pm) User Contributed Perl Documentation WWW::OpenSearch(3pm)
NAME
WWW::OpenSearch - Search A9 OpenSearch compatible engines
SYNOPSIS
use WWW::OpenSearch;
my $url = "http://bulkfeeds.net/opensearch.xml";
my $engine = WWW::OpenSearch->new($url);
my $name = $engine->description->ShortName;
my $tags = $engine->description->Tags;
# Perform search for "iPod"
my $response = $engine->search("iPod");
for my $item (@{$response->feed->items}) {
print $item->{description};
}
# Retrieve the next page of results
my $next_page = $response->next_page;
for my $item (@{$next_page->feed->items}) {
print $item->{description};
}
DESCRIPTION
WWW::OpenSearch is a module to search A9's OpenSearch compatible search engines. See http://opensearch.a9.com/ for details.
CONSTRUCTOR
new( $url )
Constructs a new instance of WWW::OpenSearch using the given URL as the location of the engine's OpenSearch Description document
(retrievable via the description_url accessor).
METHODS
fetch_description( [ $url ] )
Fetches the OpenSearch Descsription found either at the given URL or at the URL specified by the description_url accessor. Fetched
description may be accessed via the description accessor.
search( $query [, \%params] )
Searches the engine for the given query using the given search parameters. Valid search parameters include:
o startPage
o totalResults
o startIndex
o itemsPerPage
See http://opensearch.a9.com/spec/1.1/response/#elements for details.
do_search( $url [, $method] )
Performs a request for the given URL and returns a WWW::OpenSearch::Response object. Method defaults to 'GET'.
ACCESSORS
description_url( [$description_url] )
agent( [$agent] )
description( [$description] )
AUTHOR
Brian Cassidy <bricas@cpan.org>
Tatsuhiko Miyagawa <miyagawa@bulknews.net>
COPYRIGHT AND LICENSE
Copyright 2005-2010 by Tatsuhiko Miyagawa and Brian Cassidy
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.1 2010-05-25 WWW::OpenSearch(3pm)