Microsoft
Software
Hardware
Network
Question : How to convert MSDOS Batch file to Linux Bash ?
Hi,
May i know how to convert the following MSDOS Batch File to linux BASH Script ?
@echo off
for /F "skip=3 usebackq tokens=*" %%i in (`cmd /c "vzlist -ao veid"`) do (cmd /c "vzbackup "%%i && echo VE ID %%i has been backed up!)
Hope anybody can help.
Thanks.
Answer : How to convert MSDOS Batch file to Linux Bash ?
#!/bin/bash
for i in $(vzlist -ao veid | more +4)
do
vzbackup $i && echo "VE ID $i has been backed up!"
done
Random Solutions
How to display X window desktop via Exceed
driver for a sis 6326 agp card
Windows Server 2003 Standard Edition - How to address more then 4GB of memory
Oracle iAS and Database 8i, want to upgrade the OS AIX 4.3 to AIX 5.3
Looking for a WPF container for WinForms
Copy drive without copying bad sectors
Need to Emerge a masked MySQL 4.1.7 on Gentoo Linux System...
Missing Outlook 2003 Message-ID header
Internal IP not updating
Event ID 9791 - Exchange Server 2003 SP2