Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 05-27-2002, 03:48 PM   #1
Registered: Aug 2001
Location: Brandon, FL
Distribution: Slackware All The Way Baby!
Posts: 31

Rep: Reputation: 15
Writing a Script

could someone explain what i have to do to make a script? is it like a batch file? i have a slew of drives to mount and i dont want them to do it automaticly at boot and i want to put them into a script and mount them all with one command......actually its the bind i just put everything into a file and name it something and then excecute it with the "./" option?

please help

Old 05-27-2002, 04:25 PM   #2
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Rep: Reputation: 30
first chmod 755 yourscriptfilename
then write it
then execute it
it works same way as good old autoexec.bat .., but a little more sytax to choose from

you may want to read
Old 05-27-2002, 08:21 PM   #3
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,155

Rep: Reputation: 56
Put them in /etc/fstab with the noauto option

then use mount -a

Last edited by DavidPhillips; 05-27-2002 at 08:23 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
help with writing a script jedimastermopar Linux - General 10 05-02-2005 02:34 PM
help writing script willinusf Programming 7 07-20-2004 12:37 PM
Help writing a rm script VisionZ Linux - Newbie 17 03-24-2004 08:15 AM
Help Writing a script. teeth44 Programming 2 10-14-2003 01:00 PM
writing a Script spanky5125 Linux - Security 5 01-08-2002 10:22 AM

All times are GMT -5. The time now is 11:58 PM.

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