10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all.
I need a bash script to run a function remotely. I think it should be similar to the following but can't figure out the exact syntax.
Here is the script:
#!/bin/bash
function nu ()
{
for var in {0..5}; do printf "$var, "; done; echo
}
ssh host "$(typeset -f); nu"
... (9 Replies)
Discussion started by: ziguy
9 Replies
2. Solaris
Hi everyone,
I have a Solaris machine:
SunOS 5.10 Generic_127127-11 sun4v sparc SUNW,SPARC-Enterprise-T5220
After reboot, I can't ssh to this machine. Error message:
ssh: connect to host xxxx port 22: Connection refused
It seems ssh daemon is not running, but I don't have... (5 Replies)
Discussion started by: Zaiwen Gong
5 Replies
3. Solaris
Hello. I am trying to ssh and run a script from a remote computer. These computers will be both Windows and MACs. I am using Solaris 8 and what I have tried is:
using putty
ssh user@ip_address (remote command) /folder/folder/filename.sh
The issue here is that the user profile has not... (3 Replies)
Discussion started by: jkmtm
3 Replies
4. Shell Programming and Scripting
Hi all,
Today I want to write a script to run the commands remotely.
If I run the command as follows:
ssh <user>@<ip> 'ls; pwd'
it works fine.
But when I want to use ssh to set view in clearcase, it will lose the response. as follows
ssh <user>@<ip> 'cleartool setview <view_name>; pwd'... (1 Reply)
Discussion started by: Damon_Qu
1 Replies
5. Shell Programming and Scripting
Hi
I would like to append/modify crontab remotely over ssh and this is what i have tried so far.
text.txt contains the following line.
0,15,30,45 * * * * /home/local/hello.sh
cat text.txt |ssh $host 'tee'
but i dont know how to edit the crontab here after piping it to tee command. (2 Replies)
Discussion started by: xiamin
2 Replies
6. AIX
I am trying to access CDE on AIX5.3 remotely via tsclient(XDMCP)
I installed tsclient and xnest on Linux machines. (Home and Office)
I can access CDE on AIX5.3 from same subnet(In my Office)
but I can't access CDE on AIX5.3 from different subnet(At Home)(I can't see CDE login screen)
I... (2 Replies)
Discussion started by: lifegeek
2 Replies
7. UNIX for Advanced & Expert Users
Hi,
I mean Unix Linux general solution, so please don't move my question, as it's Unix specific.
I would like to remotely control my "full" Linux router.
Already succeeded to compile Linux Unix dialog, running some tests.
The issue is dialog comes with a limited number of widget boxes for... (4 Replies)
Discussion started by: jack2
4 Replies
8. UNIX for Advanced & Expert Users
Hi
Can someone giv me some knowledge on accesing windows from unix and executing DOS scripts using SSH
I would like to know how to go abt it...am new to it.
Thanks in advance (1 Reply)
Discussion started by: lakshmis10
1 Replies
9. UNIX for Advanced & Expert Users
Is it possible to change the password using a shell script, I want to remotely connect to a computer and then change password without manual intevention.
Thanks in Advance
Rishi (4 Replies)
Discussion started by: RishiPahuja
4 Replies
10. Shell Programming and Scripting
Hi,
I am trying to run the below command in perl but when the perl script is executed it prompts a error message saying " ssh: <username>: Name or service not known ". Not able to understand this as this command runs perfectly on the server prompt.
` ssh <username>@pus4026dev df -k >>... (2 Replies)
Discussion started by: be2sp1
2 Replies
EMBOSS::GUI(3pm) User Contributed Perl Documentation EMBOSS::GUI(3pm)
NAME
EMBOSS::GUI - provide web-based access to EMBOSS
AUTHOR
Luke McCarthy <lukem@gene.pbi.nrc.ca>
SYNOPSIS
use EMBOSS::GUI;
$emboss = EMBOSS::GUI->new();
$emboss->intro_page;
$emboss->about_page;
$emboss->menu_page;
$emboss->app_page;
$emboss->help_page;
$emboss->default_page;
DESCRIPTION
EMBOSS::GUI provides a simple web-based interface to the EMBOSS suite of bioinformatics tools. The distribution should have included a
sample CGI script that wraps the module appropriately.
Alternatively, EMBOSS::GUI can be used to gather information about the local EMBOSS installation. Public methods for that purpose are
described below:
new(%args)
Returns a new EMBOSS::GUI object.
%args is a hash of optional named arguments. The following arguments are %recognized:
html => $object
Specifies an alternative HTML renderer object to use when generating the web interface. See EMBOSS::GUI::XHTML for the methods the
replacement object must implement.
go()
Process CGI arguments and display the corresponding page.
intro_page()
Generates an introductory page describing EMBOSS and the GUI.
about_page()
Generates a page describing the local EMBOSS configuration, including the version and filesystem location of each perl module required
by the GUI.
menu_page()
Generates the main menu page.
app_page()
Generates the application-specific input page or runs an EMBOSS application and generates the output page.
help_page()
Generates the application-specific manual page.
output_page()
Generates the application output page, or a placeholder page if the application is still running.
default_page()
Generates a default page according to the current configuration.
frameset_page()
Generates a page that sets up the menu and main content frames.
apps()
Returns a list of available EMBOSS applications. Each element of the list is a reference to an array containing the name and
description of an application.
groups()
Returns a list of application groups. Each element of the list is a reference to an array containing the name of the group and a list
of applications belonging to that group (each application is in turn a reference to an array as described in apps() above.) Note that
an individual application can appear in multiple groups.
is_excluded($subject)
Returns true if the subject is being excluded from public display, false otherwise.
$subject is the name of an application or application group as it appears in the output from wossname.
databases()
Returns a list of available databases. Each element of the list is the name of a database, suitable for use in a USA.
BUGS
None that I know of...
COPYRIGHT
Copyright (c) 2004 Luke McCarthy. All rights reserved. This program is free software. You may copy or redistribute it under the same
terms as Perl itself.
perl v5.14.2 2006-11-13 EMBOSS::GUI(3pm)