Logo 
Search:

Unix / Linux / Ubuntu Answers

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds
  on Dec 17 In Unix / Linux / Ubuntu Category.

  
Question Answered By: Adah Miller   on Dec 17

I'm aware this is getting off-topic so I'll keep this short and the
last post on the subject unless someone has a question. With Cygwin
you can also run apache2, ftpd, etc. under Windows. Want to see a
really interesting thing? Look what Cygwin's /etc/services is linked
to on both WinXP and Vista (didn't power-up a Win2K to check it):

REGULUS bash 1/2740> pwd
/etc
REGULUS bash 1/2740> ls -l services
lrwxrwxrwx 1 thad None 40 May 30 23:06 services ->
C:\Windows\System32\drivers\etc\services*

Few people seem aware that Windows has had some UNIX-style directories
and other stuff builtin for a long time-- that's why it meets (some)
POSIX compliance. Here's what else is in that directory:

REGULUS bash 1/2536> pwd
/cygdrive/c/Windows/System32/drivers/etc
REGULUS bash 1/2536> ls -l
total 33
-rwx------+ 1 SYSTEM SYSTEM 761 Sep 18 2006 hosts*
-rwx------+ 2 SYSTEM SYSTEM 3683 Sep 18 2006 lmhosts.sam*
-rwx------+ 1 SYSTEM SYSTEM 407 Sep 18 2006 networks*
-rwx------+ 1 SYSTEM SYSTEM 1358 Sep 18 2006 protocol*
-rwx------+ 1 SYSTEM SYSTEM 17244 Sep 18 2006 services*

REGULUS bash 1/2536> file services
services: ASCII English text, with CRLF line terminators

Share: 

 

This Question has 20 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on New, not-yet-user with software question Or get search suggestion and latest updates.


Tagged: