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
VBA code to change label text colour
sp_xml_preparedocument issue
Can't RDP to terminal server over VPN. RDP over VPN to desktop PCs and DC works.
OWA (Outlook Web Access)
BSOD with "BAD_POOL_HEADER" when running backup
Create log in box with flash
doubt in FTP comment
After Effects, creating a loop
FREE SWF PRELOADER / LOADER
Dynamic Crosstab Report doesn't stop at end of recordset