Strona 1 z 1

terminal - ubicie programu

: 31 sie 2011, 18:16
autor: Spawnm
hey,
odpalam sobie program poleceniem np:

Kod: Zaznacz cały

node example.js
a w example :

Kod: Zaznacz cały

var http = require('http');
http.createServer(function (req, res) {
  res.writeHead(200, {'Content-Type': 'text/plain'});
  res.end('Hello World\n');
}).listen(1337, "127.0.0.1");
console.log('Server running at http://127.0.0.1:1337/');
Jak zakończyć taki program?
Wpisanie exit nie załatwia sprawy.

Re: terminal - ubicie programu

: 31 sie 2011, 18:40
autor: rafaloo

Kod: Zaznacz cały

ps -x
kill numer procesu