LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   "batch files" in red hat, similar to .bat files in dos (https://www.linuxquestions.org/questions/linux-newbie-8/batch-files-in-red-hat-similar-to-bat-files-in-dos-103026/)

shycalais 10-12-2003 07:24 AM

"batch files" in red hat, similar to .bat files in dos
 
i regularly connect to a server via telnet, instead of always having to type "telnet the.site.com" is there a way to create a "batch file" (like old dos.bat) files to do this? i was made aware of a file in a local directory where you can list your own commands.. can anyone point me in the right direction?

Nimoy 10-12-2003 07:49 AM

The following site is a great starter for Linux newbies http://www.start-linux.com

For the "batch command" I believe you would need to write a script file containing bash shell commands for examples on writing such a file see http://linux.dbw.org/shellscript_howto.html

I hope this will give you a good grasp of how to utilize the powers of the command line...

ksgill 10-12-2003 08:34 AM

telnet is extremely insecure..try replacing it with ssh :)


All times are GMT -5. The time now is 12:15 PM.