Here is a simple example of a Windows batch script, designed to implement a simple project, and its equivalent in Linux bash.
REM variables
set PRJ_NAME=MYPROJECT
set DEVICEICE=xc6slx9-csg324-3
REM generate IP
coregen.exe -b "ipcore_dir\CORE_NAME.xcp" -p
"ipcore_dir\coregen.cgp"
REM Synthesis
xst.exe -ifn "%PRJ_NAME%.xst" -ofn "%PRJ_NAME%.syr
"REM Implementation
ngdbuild.exe -dd _ngo -sd ipcore_dir -nt timestamp -uc
"%PRJ_NAME%.ucf" -p %DEVICE% "%PRJ_NAME%.ngc" "%PRJ_NAME%.ngd"
map.exe -p %DEVICE% -w -logic_opt off -ol high -t 1 -xt 0
-register_duplication off -r 4 -mt off -ir off -pr off -lc off
-power off -o "%PRJ_NAME%_map.ncd" "%PRJ_NAME%.ngd" "%PRJ_NAME%.pcf"
par.exe -w -ol high -mt off "%PRJ_NAME%_map.ncd" "%PRJ_NAME%.ncd"
"%PRJ_NAME%.pcf"
REM bitstream generation
bitgen.exe -w "%PRJ_NAME%.ncd"