Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


Closed Thread
  Search this Thread
Old 11-27-2006, 03:04 AM   #1
Registered: Nov 2006
Posts: 41

Rep: Reputation: 15
how can create shell script

Hello all,

how create shell script
or i want to take backup of oracle from exp utiltiy
so i want first create shell script then schedule every night 11.00 o'clock through cron tab utility ...but how can i do that...

plz. reply

i am newbie for linux... so i cann't ....

Old 11-27-2006, 03:07 AM   #2
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
Old 11-27-2006, 04:22 AM   #3
Registered: Sep 2004
Location: Malaysia, Johor
Distribution: Dual boot MacOS X/Ubuntu 9.10
Posts: 851

Rep: Reputation: 31
hard to explain to you, generally you must understand all single command (and I assume you know).

4 step to create a script
1. create a file

2. edit the file, example as below list all files in /etc:
ls -a /etc
3. save the script

4. set the script executable
chmod +x
To run the script, simple type ./ in command prompt. It will show you the results.

Please convert it to suit your need. About the scheduling you need to use cron. This one later, don't make you confuse.

Old 11-27-2006, 10:33 AM   #4
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
kstan if a moderator says a thread is going to be closed please do not post in that thread because once its locked nobody can post anything in it. Cheers.
Old 11-27-2006, 11:16 AM   #5
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911
And closed per above.

Closed Thread

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
how create shell script user52 Linux - General 1 11-27-2006 03:35 AM
Create a shell Script that log in as root mashed Linux - Newbie 1 04-08-2006 04:13 AM
shell script problem, want to use shell script auto update IP~! singying304 Programming 4 11-29-2005 05:32 PM
How to create a shell script that reads something from stdin? ricky_ds Programming 2 05-17-2005 05:06 AM
Create CD catalogue using Shell Script Helene Programming 2 04-09-2004 09:42 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:19 AM.

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