Summary: I'm writing an expect script to use sftp to download a file from a secure server. Actually, I'm modifying one of my existing scripts which does the sa...
Summary: Hi does anyone know how to pass a filename to vi?? what i mean is, i have some script that calls various different files based on user selection. and ...
Summary: Hello - I'm trying to write an expect script to first su to another user adn then run the passwd command. I created it by using autoexpect and then m...
Summary: Is it possible to pass a Unix environment variable to sed? The example script I have included shows what I am trying to do and the header explains why...
Summary: Hi All, Im trying to write a script to archive files based on the date the files were created. For example, if a group of files were created on 23rd A...
Summary: I need a little help with a Script. I need to read a filename from a directorty based on a specific format. I will be looking for the file in a direct...
Summary: Hi, I'm fairly new to tcl and expect. I'm using expect to ssh into another account, and dump the contents of a directory (via "ls -la"). I'm using log...
Summary: Here is one way of doing it. This works on Tru64 UNIX 5.1B but should work on most other Unices. - Pass in the variables using the -v command l...
Summary: Hi, I have encounter a problem and hopefully someone from here can help me out, please. Is it possible for me to pass a parameter to ftp? Here is what...
Summary: I'm glad to see your concern for efficiency. In that case, in your original post, instead of sending that huge file through a pipe, it would have bee...
Summary: Hello: After a reboot in the middle of the night, I found that my server didn't restart. Ugh!!! I plugged in the monitor and went to do a graceful re...
Summary: Problem with leaving the print_something function in foreground is that you don't leave the function. You put a loop into a function and the loop con...
Summary: Ok, this has me stumped! Have a korn shell script, which takes in a paramter. This paramter needs to reference a variable in another script. Eg. in ru...
Summary: What you would like then is for each line of test.log to be terminated with in addition to the line feed. sed -e 's,$,BR,' test.log >> log.html This ...
Summary: I need to write a script that is able to read root's mail. The problem is I get prompted for root's pwd. Is there a way to pass in root's password s...
Summary: Hi In our client place , we have Canon image runner model 600-550-60 , how to configure in solaris to directly print to printer ,it is broadcasting LP...
Summary: Ladies and Gentlemen, I keep hearing that UNIX is very stable compared to Windows. I went to Staples, and they had this software called "Free BSD UN...
Summary: I have a Unix ScoOpenserver box. I'm able to map drives from windows xp pro to unix. Unfortunately xp doesn't map the drives each time I login. I get ...
Summary: Folks: I am trying to write a script to telnet a service on local service but I really don't know how to do it. Basically, there are two tasks: task 1...