Sponsored Content
Top Forums Shell Programming and Scripting Net::SSH::Perl->Execute any unix command & display the output in a proper form Post 302313526 by gsprasanna on Wednesday 6th of May 2009 01:57:53 AM
Old 05-06-2009
Thanks much Otheus

It works fine.... Thank you once again.
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to execute remote ssh command - Perl and CGI

Hi, I am having nightmare issue-ing remote ssh command from a CGI perl script. It just won't run on debug message: It says permission denied. Can I even do this? as the apache server running under DAEMON account probably can't execute it? Is this the case of what's going on? Here is my... (3 Replies)
Discussion started by: Dabheeruz
3 Replies

2. UNIX for Dummies Questions & Answers

Command display output on console and simultaneously save the command and its output

Hi folks, Please advise which command/command line shall I run; 1) to display the command and its output on console 2) simultaneous to save the command and its output on a file I tried tee command as follows; $ ps aux | grep mysql | tee /path/to/output.txt It displayed the... (7 Replies)
Discussion started by: satimis
7 Replies

3. Shell Programming and Scripting

Net::SSH::Perl ...... how to print the output in a proper format

Hi Guys, my $cmd = "ls -l"; #........ {or let it be as # my $cmd= "ls"; } my $ssh = Net::SSH::Perl->new($host); $ssh->login($user, $pass); my($stdout, $stderr, $exit) = $ssh->cmd("$cmd"); print $stdout; the script works fine, but i am unable to see the output getting displayed in a... (7 Replies)
Discussion started by: gsprasanna
7 Replies

4. Shell Programming and Scripting

Net::SSH::Perl slow to login.

I have some sample code that's supposed to ssh to another machine using Net::SSH::Perl, execute a command, and print the output of that command. It's very basic, and it works. However, I noticed that upon logging in: $ssh->login('username','password'); It takes roughly 10-13 seconds to... (2 Replies)
Discussion started by: mrwatkin
2 Replies

5. Shell Programming and Scripting

Cannot execute Unix command in a simple perl script

Am trying to lean perl scripting in Unix OS to automate my tasks. Please find the below perl script i have tried #!/usr/bin/perl -w print "Please Enter the VG name to be checked:"; $A = <>; print "Please Enter the free size to be checked in GB:"; $B = <>; $vgcheck = `vgdisplay... (7 Replies)
Discussion started by: jayachandran87
7 Replies

6. Shell Programming and Scripting

execute ssh command via perl

Hi I have a perl command that doesn't seem to be working correctly. It appears to be fine but even when i try and run it manually same thing. Can someone take a look at this and tell me what they think the problem could be? Here is the perl Line: system ("echo 'ssh -t -t $user\@$_ \"cd... (3 Replies)
Discussion started by: vpundit
3 Replies

7. Web Development

Ssh authentication from .NET webpage to UNIX is not working

My .NET website invokes a perl script to perform GIT operations on Gerrit server running UBuntu. In the perl script I connect using passwordless authentication to Gerrit server as below: system ( "ssh gitadmin@gerritserver.com 'cd /xyz && git clone xxx' "); I verified that ssh authentication... (3 Replies)
Discussion started by: tkota
3 Replies

8. UNIX for Advanced & Expert Users

Graphical Display Of Script Execution & Output

Hello All i have a KSH script which basically takes attribute name as input argument and searches whole Netezza appliance and prints information of where that column is used (Table/Views) etc. Problem with this approach business users have to raise SUDO access request, Install Putty, run through... (1 Reply)
Discussion started by: Ariean
1 Replies

9. Shell Programming and Scripting

Execute ssh command with additional terminal command to any remote user not working script

Hello i am having an issue with bash script and this is the code now=$(cat hosts1.txt | awk '{print $2;}') while read n ;do ssh root@$now 'useradd test1; echo -e "test1\ntest1" | passwd test1 && echo "test1 ALL=(ALL:ALL) ALL" >> /etc/sudoers' When i execute only part with cat, it... (8 Replies)
Discussion started by: tomislav91
8 Replies
TMISPELL(1)						      General Commands Manual						       TMISPELL(1)

NAME
tmispell - ispell wrapper which uses Voikko for spell-checking SYNOPSIS
tmispell [-F config_file] [ispell_options] [file ...] DESCRIPTION
Tmispell is an ispell(1) wrapper which uses Voikko spell-checking system to do the actual spell-checking for Finnish language. What makes Tmispell very useful is that many programs (e.g. email clients and word processors) use Ispell for spell-checking. Since Tmispell is a transparent wrapper for Ispell, other programs that would normally use Ispell will automatically use Tmispell (and therefore Voikko) without any changes needed. Additionally, Tmispell is able to launch the real Ispell if Tmispell does not support the selected lan- guage. It is not necessary to have the real Ispell installed, though. Tmispell works fine without it, but currently Finnish is the only supported language then. Tmispell can be used from command line exactly like Ispell. If Tmispell is correctly installed, the command "ispell" actually starts Tmispell. It can be used to spell-check any text file(s) given as command line parameter. If a text file is given, Tmispell starts in interactive mode. Press "?" to get help on available commands in interactive mode. OPTIONS
-F config_file Use the configuration file config_file instead of the default /etc/tmispell.conf. ispell_options Tmispell should understand all the options that Ispell does. For more information about Ispell's options, see ispell(1). FILES
/etc/tmispell.conf The default configuration file for Tmispell. For more information, see tmispell.conf(5). AUTHORS
The original Tmispell was programmed by Pauli Virtanen <pauli.virtanen@hut.fi>. Modifications and integration with Voikko spell-checking system by Harri Pitkanen <hatapitk@iki.fi>. SEE ALSO
tmispell.conf(5), ispell(1) Voikko homepage: http://voikko.sourceforge.net/ 2008-02-13 TMISPELL(1)
All times are GMT -4. The time now is 06:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy