Sponsored Content
Top Forums Shell Programming and Scripting problems installing expect utilty Post 302192286 by learnbash on Tuesday 6th of May 2008 03:09:29 PM
Old 05-06-2008
Hammer & Screwdriver

[QUOTE=vikas027;302188047]Hi all,


I am trying to install expect utility on RHEL 5. It is showing that we also need to install tcl also in order to run it.

I wonder why you are installing old version, while expect is by default available in EL-5

rpm -qf /usr/bin/expect
expect-5.43.0-5.1

Regards,
Bash
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Installing expect

Hi, I have solaris 8 installed in my intel machine.(pentium 4).I'am planning to learn expect.Can somebody help me in giving relevant sites for that.I beleive we have to install TCL also for expect.Can somebody throw light on installations of both TCL & expect? thanx in advance, raj. (1 Reply)
Discussion started by: sounder123
1 Replies

2. Shell Programming and Scripting

Need a simple file based utilty for shell scripts

Hello, I'm wondering if you may know of a simple file based UNIX utility that can be used to store and retrieve values on a flat file, let's say i have a file called "kru", i'd like to be able to specify a request like: while(....) if ; then kru.fld2 = $rec_cnt kru.fld3 =... (4 Replies)
Discussion started by: bobk544
4 Replies

3. Shell Programming and Scripting

Expect script with file input problems

Hello, I am trying to write an expect script that will ssh into a large number of Cisco routers and add some commands via the cli. The script I wrote works great for one host however I have over 350 routers that this needs to be added to. The problem is I cannot get the script to read the file of... (1 Reply)
Discussion started by: meberline
1 Replies

4. Programming

Installing EXPECT on unix

Friends, I thought of installing EXPECT but unable to execute 'make', its throwing errors. Am not a 'root' user, will I not be able to install EXPECT in my home directory? (8 Replies)
Discussion started by: anaga
8 Replies

5. Shell Programming and Scripting

Problems with expect and set variables

I'm writing a script that'll send a time-stamp to my backup server. I create a file with the name of the current date, send it to my server with scp and rm the file from the local computer. Individually these commands work fine and with a set name the expect scripts also work fine. The problem... (0 Replies)
Discussion started by: Ktesh564
0 Replies

6. Red Hat

How to install expect after installing tcl on Redhat Linux

Hi, I have install tcl and then expect but I am getting below ouput while trying which expect which expect /usr/bin/which: no expect in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin) I have copied both in... (6 Replies)
Discussion started by: manish_1678
6 Replies

7. Shell Programming and Scripting

Expect script Execution Problems .. Help!!!

Hi Guys, I am writing the expect script which take input from the txt file and check whether that file is present over the Sftp or not.If yes then delete other wise check the next one.. I am able to do comparison online for single file... Please also note still i didn't try to implement... (1 Reply)
Discussion started by: hackerdilli
1 Replies

8. Shell Programming and Scripting

Problems with expect

Hi, I am writing a script to enter into a list of servers and take the backup of the cronjobs on that servers... ============================== -bash-3.00$ expect spawn.exp ssh rcdn6-vm59-33 spawn ssh servers1 /CODE]==================== -bash-3.00$ cat spawn.exp #!/usr/bin/expect eval... (1 Reply)
Discussion started by: satishkumar432
1 Replies

9. Shell Programming and Scripting

Problems with expect and sftp in bash

I'm having trouble with some automated sftp pulls. I'm using expect inside bash scripts and spawning SFTP. Some times the expect seems bog down. I have tried to put sleeps in my code to give everything time to work before I move on to next step but I till continue to get issues. For example when... (2 Replies)
Discussion started by: gosteen
2 Replies

10. Red Hat

Issue in installing expect and Tcl

Hi I need to install expect in redhat. through net I came to know that I must install tcl too in order to make expect work. I have downloaded both packages but not able to install # ls -lrt total 3720 18:33 tcl8.4.20-src.tar.gz 18:33 expect5.45.3.tar.gz 18:40 expect5.45.3... (7 Replies)
Discussion started by: scriptor
7 Replies
CTXTOOLS(1)							      ConTeXt							       CTXTOOLS(1)

NAME
ctxtools - clean up temporary ConTeXt files, install latest ConTeXt SYNOPSIS
ctxtools [ OPTION ... ] DESCRIPTION
ctxtools is useful for dealing with ConTeXt source and generated files and for installing new versions of ConTeXt. OPTIONS
--help Print the available options. --purgefiles Get rid of many temporary files generated by ConTeXt. You can give the --all option to remove a larger fraction of those files, and the --recurse option to remove these files also in subdirectories. --contextversion Show the date of the ConTeXt macros and the format file. Useful after upgrading ConTeXt (perhaps using --updatecontext) to check whether the new formats and macros are visible to the TeX path searches (see kpsewhich(1). --updatecontext Download the latest ConTeXt distribution and install it in the TEXMFLOCAL tree (see kpsewhich(1) for information on TeX path search- ing). TEXMFLOCAL usually points to a system-wide location. If you want to install the new ConTeXt in your home directory (i.e. an install for one user), then set the TEXMFLOCAL environment variable while running ctxtools. For example, using the syntax of the Bourne shell sh(1): TEXMFLOCAL=$HOME/texmf ctxtools --updatecontext --documentation Generate a .ted file from the source file. See also the --module option to texexec(1). --patternfiles [languagecode] Generate pattern files. You can also give the --all, --xml, and --utf8 options. ENVIRONMENT
TEXMFLOCAL Used by --updatecontext to decide where to install the distribution. SEE ALSO
texexec(1), texmfstart(1). ConTeXt wiki <http://www.contextgarden.net>. BUGS
This manual page is not complete. AUTHOR
This manual page was written by Sanjoy Mahajan <sanjoy@mit.edu>. It is in the public domain. ctxtools 1.3.3 January 2007 CTXTOOLS(1)
All times are GMT -4. The time now is 08:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy