03-12-2008
Help Me
HELP ME IN THIS REGARD...
Thank U
Naree
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I want to run a particular script present in a different server.
At the moment I am trying to run it like this:
(sleep 3; echo $USERID; sleep 1; echo $PASSWORD ; sleep 1 ; sleep 1 ;
echo "nohup perl myscript.pl $* &")| telnet "$server"
But the problem is that once the script has... (6 Replies)
Discussion started by: King Nothing
6 Replies
2. UNIX for Dummies Questions & Answers
Hi,
Im a total virgin on server admin and I need to check server (shared server) for certain files.
Someone send me a command:
find /home/ \( -name "*.cgi" -o -name "*.php" \) -print0 | xargs -0 egrep -l 'c99shell|r57shell|WebShell|phpshell|shell|c100|base64' >> /root/report
my question is:... (1 Reply)
Discussion started by: Carl29
1 Replies
3. Shell Programming and Scripting
Hi guys ,
I want to run a specific command from one server to another.
For example I have a server called A(client) and a server called B(Server).
How would i fire a command on Server(B) while working on Client(A).
One way of doing it is using ssh
"ssh -tq 10.180.8.231 ls -ltr"
but... (3 Replies)
Discussion started by: pinga123
3 Replies
4. Shell Programming and Scripting
If i have one server processing some feeds and creating a database. Then i want to copy the relevant tables from the first server to the second server. I have a shell script to do the copy. I was going to make a cron to run the script at a certain time. But it would not be ideal. I really want... (8 Replies)
Discussion started by: timgolding
8 Replies
5. Programming
Hi All,
I am using a expect script to run a shell script on remote server, the code is as follows. But the problem is that it executes only first command, and hangs it doesn't run the next commands.
spawn ssh $uid@$host
expect "password:"
send "$password\r"
expect "*\r"
send... (2 Replies)
Discussion started by: yashwanthsn
2 Replies
6. Shell Programming and Scripting
hi,
I am using the below line to run a script from remote server(say server A) to another server(say server B).
ssh username@servername ksh script name.
The issue is the script logs into server B, executes the script on server B, transfers the file to server A but does not exit from... (4 Replies)
Discussion started by: yohasini
4 Replies
7. Shell Programming and Scripting
hi,
I need script to perform below task.
1. Read the IP address
2. copy the script from origin server to destination.
3. get root access on destination server
4. run the script on destination server
5. return to the origin server
Code:
#!/bin/bash
echo "Enter Server IP... (5 Replies)
Discussion started by: bapu1981
5 Replies
8. Shell Programming and Scripting
( sleep 3
echo ${LOGIN}
sleep 2
echo ${PSWD}
sleep 2
while read line
do
echo "$line"
PID=$?
sleep 2
kill -9 $PID
done < temp
sleep 5
echo "exit" ) | telnet ${HOST}
while is executing only command and exits. (5 Replies)
Discussion started by: sooda
5 Replies
9. UNIX for Beginners Questions & Answers
Hi
I am trying to write a script which when I run from server A it execute few command on another server say B and show me the output.
below is the script but it is not showing me the o/p of B machine but instead showing me A machine o/p every time.
#!/bin/bash
for i in `cat... (14 Replies)
Discussion started by: scriptor
14 Replies
10. Shell Programming and Scripting
local script:
cat > first.sh
cd /tmp
echo $PWD
echo `whoami`
cd /tmp/123
tar -cvf 789.tar 456
sleep 10
except script:
cat > first
#!/usr/bin/expect
set ip 10.5.15.20
set user "xyz123"
set password "123456"
set script first.sh
spawn sh -c "ssh $user@$ip bash < $script" (1 Reply)
Discussion started by: Aditya Avanth
1 Replies
TRANSFIG(1) General Commands Manual TRANSFIG(1)
NAME
transfig - creates a makefile for portable LaTeX figures
SYNOPSIS
transfig [ -L language ] [ -M makefile ] [ -T texfile ] [ -I macrofile ] [ -V ] [ control_specs figfile ... ]
DESCRIPTION
Transfig creates a makefile to translate figures described in Fig code or PIC into a specified LaTeX graphics language. PIC files are
identified by the suffix ".pic"; Fig files can be specified either with or without the suffix ".fig" . Transfig also creates a TeX macro
file appropriate to the target language.
OPTIONS
The language specifier must be one of box, cgm, eepic, eepicemu, emf, epic, eps, ge, gif, ibmgl, jpeg, latex, map, mf, mmp, mp, pcx, pdf,
pdftex, pdftex_t, pic, pictex, png, ppm, ps, psfig, pstex, pstex_t, ptk, sld, textyl, tiff, tk, tpic, xbm, xpm or null. The specifier
psfig is like the ps specifier, except that it make use of the psfig macro package. The specifier pstex is like psfig, except that it uses
LaTeX to process formatted (special) text. The specifier null results in the figures being replaced by empty boxes of the appropriate
size. If no language is specified, epic is the default.
The names of the makefile and TeX macro file can be set with the -M and -T options. The default names are "Makefile" and "transfig.tex",
respectively. If there is already an existing makefile in the directory, transfig first renames it to makefile~. The same holds for any
existing TeX macro file. If the -I option is specified, then a command to read in macrofile is inserted into the TeX macro file. If
the -V option is specified, the program version number is printed only.
Control specifiers are
-m mag set the magnification at which the figure is rendered (default 1.0).
-f font
set the default font family used for text objects (default "rm").
-s fontsize
set the default font size (in points) for text objects (default 11*mag).
-o option
pass the specified option string through to fig2dev.
If there is no scaling, the default font is an eleven point roman font. Language and control specifiers may occur more than once; they
affect the translation of files which appear to their right in the argument list. If no files are specified, then "*.fig" is assumed.
SEE ALSO
fig(l), fig2dev(l), pic(l), pic2fig(l), xfig(l)
COPYRIGHT
Copyright (C) 1985 Supoj Sutantavibul
Copyright (C) 1991 Micah Beck
Parts Copyright (C) 1991-2002 Brian Smith
THE AUTHORS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
EVENT SHALL THE AUTHORS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
Any party obtaining a copy of these files is granted, free of charge, a full and unrestricted irrevocable, world-wide, paid up, royalty-
free, nonexclusive right and license to deal in this software and documentation files (the "Software"), including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons who receive
copies from any such party to do so, with the only requirement being that this copyright notice remain intact.
AUTHOR
Micah Beck
Version 3.2.4 November 2002 TRANSFIG(1)