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
linux - sendmail - Deferred: Connection refused by mx5.biz.mail.yahoo.com
Sending a message from Exchange 2007 to Lotus Notes
Sybase 12.5 Performancing and Tuning
Entity Relationship model tools
Using MS DataGrid in Microsoft Access 2002/2003
Exchange Journaling Features
Terminal services keep disconnecting
Odd synch issue with Nokia Mail for Exchange
DateTime and Varchar
In Powershell, need to find way to grab all computer names from a given AD OU