Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| #!/bin/sh | |
| # apt install gdisk syslinux syslinux-efi mtools | |
| IMG=boot-image.img | |
| SIZE=300 | |
| KERNEL=vmlinz | |
| INITRAMFS=initrd.img | |
| MD="mmd -i ${IMG}@@1M" | |
| CP="mcopy -i ${IMG}@@1M" | |
| RN="mren -i ${IMG}@@1M" | |
| dd if=/dev/zero bs=1M count=$SIZE of=$IMG |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000