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
Where is the background image located on Windows Mobile phones?
I cannot get any of my Windows computers to see the server share points. SMB is running.
cisco 2514 nat and vpn ?
Powershell and exchange 2003 and mailbox folder size
SYSTEM 32 CONFIG SYSTEM FILES MISSING
Windows automatically adds ps extension to eps file
Moving Data Store to New Server
Auto zip files of a certain extension
USB Mass Storage Driver Issue
Exchange Server 2003 install error