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
Need boot disk with ghost to run on windows server 2003 (HP Proliant hardware)
Printing through RDP
Select from two tables but get all rows, not just inner join
Running a script one time
Frontpage Server Extensions Errors
what is the importance in wheel group in linux ?
Insert or replace logic for MS SQL
Block DNS Lookups for certain domains
Cannot Access POP3/SMTP through outlook express but Webmail is fine.
Send To Mail Recepient is launching the Internet Connection Wizard