background preloader

Shell

Facebook Twitter

Using expect script in a shell script. I wish I could give you some links.

Using expect script in a shell script

I bought the O'Reilly book many years ago and that's how I learned it, and still use the book as reference when I need it. If you are just going to run some regular line commands, here's an example to get you started: Open Computing model: course set-up details. Automation of su password through shell script - Unix / Linux / BSD answers. Bash scripting Tutorial. Shell Scripts - Learn Linux. LINUX CLASSES - PROGRAMMING So how do you run this little wonder of technology?

Shell Scripts - Learn Linux

In DOS, all you have to do is name a file with a .bat extension and it'll be recognized as an executable file--but not so with Linux. Since Linux attaches no meaning to file extensions, you have to mark the file as executable by using the chmod command, like this: $ chmod +x deltemp.