Skip to content

Simple and small HTTP server in Bash with NetCat.

License

Notifications You must be signed in to change notification settings

sunsky/Bash-NetCat-HTTPD

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Bash-NetCat-HTTPD

Simple and small HTTP server in Bash with NetCat.

httpd.sh [PORT=8080 [ROOT_DIR=./]]

Basic usage

Put httpd.sh file into directory with your files, and just run it.

./httpd.sh

By default script will open port 8080 and serve files.

Custom port example

./httpd.sh 5000

Custom port and directory example

./httpd.sh 5000 /home/user/my_project/

More projects

Look at the www.promyk.doleczek.pl, maybe you will find another interesting thing :-)

About

Simple and small HTTP server in Bash with NetCat.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%