2015-09-25 101 views

回答

0

這是REPL的NodeJS,你可以測試它

[[email protected] ~]$ node 
> process.cwd() 
'/home/monitor' 
> process.chdir('../'); 
undefined 
> process.cwd(); 
'/home'