LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-12-2003, 07:24 AM   #1
shycalais
Member
 
Registered: Sep 2003
Distribution: rh
Posts: 43

Rep: Reputation: 15
"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?
 
Old 10-12-2003, 07:49 AM   #2
Nimoy
Member
 
Registered: Jun 2003
Location: Currently Denmark
Distribution: Ubuntu 15.04
Posts: 336

Rep: Reputation: 30
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...
 
Old 10-12-2003, 08:34 AM   #3
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
telnet is extremely insecure..try replacing it with ssh
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how can i see the "windows" files from linux red hat eltn10 Linux - General 3 09-29-2004 04:18 PM
Files on Red Hat server are "Read Only" in XP WittyFool Linux - Networking 4 07-27-2004 06:55 PM
"X-MS" cant open because "x-Multimedia System" cant access files at "smb&qu ponchy5 Linux - Networking 0 03-29-2004 11:18 PM
Using "DOS" files NoBrains Fedora 4 03-01-2004 04:38 PM
Are linux scripts just as simple as dos batch files? neeyo Linux - General 4 07-21-2002 11:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration