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::Conf(3pm) User Contributed Perl Documentation EMBOSS::GUI::Conf(3pm)
NAME
EMBOSS::GUI::Conf - repository for EMBOSS::GUI site-specific configuration
AUTHOR
Luke McCarthy <lukem@gene.pbi.nrc.ca>
SYNOPSIS
use EMBOSS::GUI::Conf;
$conf = EMBOSS::GUI::Conf->new();
foreach $app ($conf->apps) {
($name, $doc) = @$app;
if (!$conf->is_excluded($name)) {
...
}
}
foreach $group ($conf->groups) {
$group_name = shift @$group;
if (!conf->is_excluded($group_name) {
foreach $app (@$group) {
($name, $doc) = @$app;
...
}
}
}
DESCRIPTION
EMBOSS::GUI::Conf contains site-specific configuration information for EMBOSS::GUI. Consult the source for a description of the variables
that can be set.
Public methods are described below:
new()
Returns a new EMBOSS::GUI::Conf object. This method stores the EMBOSS::GUI::Conf package variables in the object hash, ensures that
the specified output path is writeable and adds the EMBOSS binaries to the path.
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.
matrices()
Returns a list of available alignment scoring matrices. Each element of the list is a reference to an array containing the filename of
the scoring matrix, suitable for use as the value of a matrix or matrixf argument, and a description of the matrix.
codon_usage_tables()
Returns a list of available codon usage tables. Each element of the list is a reference to an array containing the filename of the
codon usage table, suitable for use as the value of a codon argument, and the name of the species from which it is derived.
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 2013-09-16 EMBOSS::GUI::Conf(3pm)