Results 1 to 3 of 3
I got something to work in terminal! WOOHOO!
Now can I make a batch file which will do the operation much the same as old DOS style batch files?
note ...
- 08-16-2010 #1Just Joined!
- Join Date
- Jul 2010
- Posts
- 30
MAking a batch file ???
I got something to work in terminal! WOOHOO!
Now can I make a batch file which will do the operation much the same as old DOS style batch files?
note - [output omitted] inserted in place of actual output for ease of typing.
Here's what I did:
root@sysresccd /root % mkdir /mnt/sdb
root@sysresccd /root % mount /dev/sdb1 /mnt/sdb
root@sysresccd /root % ls -l
[ls output omitted]
root@sysresccd /mnt/sdb % cd ibmbackup
root@sysresccd /mnt/sdb/ibmbackup % cd ibmpart
root@sysresccd /mnt/sdb/ibmbackup/ibmpart % dd if=/dev/sda of=backup-sda.mbr count=1 bs=512
[output omitted]
root@sysresccd /mnt/sdb/ibmbackup/ibmpart % ls -l
[output omitted]
Thanks
Ron
- 08-16-2010 #2
Advanced Bash-Scripting Guide
Don't be intimidated by word advanced. It is good for starters, too.
- 08-16-2010 #3Just Joined!
- Join Date
- Jul 2010
- Posts
- 30
Thanks
Lots of reading!


Reply With Quote