LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 01-11-2007, 10:28 AM   #1
mrkawphy
Member
 
Registered: Jun 2006
Location: Calgary, Alberta
Distribution: Fedora Core 6
Posts: 43

Rep: Reputation: 15
Scripting / Alias


Just a general question to all the not so new linux users out there.

Do most of you use alot of scripts if so do you end up writing them yourselves?

I'm finding when I do a fresh install the manual work required to get everything up and running again is just crazy. While being new to linux I think this is a fantastic way to help get a stronger understanding of how things work, ideally scripting can then be used to automate some of the more annoying tasks on a fresh install and I'm sure many countless other functions that I have not yet realized or learned about.

Just curious. I felt this would be the best forum for this since it seems like a fairly newbish question.
 
Old 01-11-2007, 10:36 AM   #2
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
I tend to write a quick shell script whenever I find myself doing something on a commandline that I know will be repeated exactly later. For instance, I created a CD-RW with a packet-writing filesystem so that it could be used as a large floppy. However, as most distros don't recognize their filesystems as such, mounting can be a pain. Therefore, I wrote a script that detects if a cdram is mounted. If so, it unmounts it and performs the associated maintenence. If not, it looks for it in the CD drive and mounts it.
 
Old 01-11-2007, 02:05 PM   #3
lord-fu
Member
 
Registered: Apr 2005
Location: Ohio
Distribution: Slackware && freeBSD
Posts: 676

Rep: Reputation: 30
I use scripts for alot of things, after new installs and forward. Backups, cd/dvd burning, maintainence, log parsing etc...many different things.
I use bash mostly but lately have been delving into Perl alot more, the local book store here has been getting rid of older perl dev books for like 3 bucks each, while older I feel they still provide valuable information.
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
IP alias? Machine name alias? JohnLocke Linux - Newbie 4 01-16-2008 12:21 PM
teaching shell scripting: cool scripting examples? fax8 Linux - General 1 04-20-2006 04:29 AM
Alias question (2 commands for one alias) gflores Linux - Newbie 3 01-21-2006 12:40 AM
alias xviddivxoggmp3 Slackware 9 01-25-2005 10:05 AM
help with alias veteq99 Linux - Newbie 2 08-12-2003 04:23 PM


All times are GMT -5. The time now is 03:09 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration