Fedora Linux Support Community & Resources Center
Prev Previous Post   Next Post Next
  #1  
Old 8th March 2008, 06:22 PM
vanesta Offline
Registered User
 
Join Date: Mar 2008
Posts: 1
Bash newbie - how to execute multiple command?

hi Guys, Victoria here!

I'm new to the forum, and in need of a guide on how to run multiple command on linux command line.

I want to rsync multiple folders

I know the rsync command but how to i make it into 1 script backup.sh

mount /dev/sdb1 /iscsi
rsync -vrplogDtH /var/lib/mysql/ /iscsi/mysql/
rsync -vrplogDtH /home/ /iscsi/home/

and how can i make them finished 1 command before jumping to another with verbose output.

Thank you so much guys!
Reply With Quote
 

Tags
bash, command, execute, multiple, newbie

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
bash: cannot execute binary file manditri Using Fedora 1 17th July 2008 07:32 PM
Execute command at runlevel-1 ??? buttari Using Fedora 2 21st January 2007 04:15 PM
how-to execute a command with an email paul_mat Servers & Networking 3 5th September 2006 03:37 PM
How do I Execute command on display :1 pobman Using Fedora 2 5th May 2006 08:49 AM
Newbie question: Can not execute scripts in BASH pradovic Using Fedora 4 17th October 2004 04:10 AM


Current GMT-time: 14:25 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat