返回命令列表

Linux command

Quick HTTP server in Ruby

网络

Copy it and replace filenames, paths, or keywords as needed.

命令示例

Quick HTTP server in Ruby

ruby -run -e httpd . -p 8000

说明

Useful Linux one-liner

FAQ

What is the ruby command used for?

Useful Linux one-liner

How do I run a basic ruby example?

Run `ruby -run -e httpd . -p 8000` in a terminal, then adjust file names, paths, flags, or remote targets for your system.