home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / question / 9310 < prev    next >
Encoding:
Internet Message Format  |  1992-07-22  |  1.4 KB

  1. Path: sparky!uunet!mcsun!fuug!demos!kiae!glas!demos!tygra.michigan.com!absc
  2. From: absc@tygra.Michigan.COM
  3. Newsgroups: comp.unix.questions
  4. Date: 17 Jul 92 23:56 MDT
  5. Subject: Re: need "ls"-like output w/full path
  6. Sender: Notesfile to Usenet Gateway <notes@glas.apc.org>
  7. Message-ID: <1992Jul17.195614.1703@tygra.mich>
  8. References: <1992Jul13.234001.18747@amhux2.am>
  9. Nf-ID: #R:1992Jul13.234001.18747@amhux2.am:851811750:1992Jul17.195614.1703@tygra.mich:-1369498913:001:919
  10. Nf-From: tygra.michigan.com!absc    Jul 17 23:56:00 1992
  11. Lines: 28
  12.  
  13.  
  14. In article <1992Jul13.234001.18747@amhux2.amherst.edu> pfcouvar@amhux1.amherst.edu (Peter Couvares) writes:
  15. >    How can I get "ls" to display a directory of files like this:
  16. >
  17. >(say I'm in /usr/users/pfcouvar)
  18. >
  19. >/usr/users/pfcouvar/.login
  20. >/usr/users/pfcouvar/.newsrc
  21. >/usr/users/pfcouvar/News/
  22. >/usr/users/pfcouvar/unix-questions
  23. >/usr/users/pfcouvar/acksaysbill
  24. >/usr/users/pfcouvar/legalizedrugs
  25. >
  26. >    Since it isn't an option on "ls" (at least not here), I presume it
  27. >will involve prepending the current directory onto the output of "ls -1",
  28. >but I haven't been able to get this to work. Any help would be appreciated.
  29.  
  30. Try:
  31.     find `pwd` -print
  32.  
  33.  
  34.  
  35. -- 
  36. =  CAT-TALK Conferencing Network, Computer Conferencing and File Archive  =
  37. -  1-313-790-6426, 300/1200/2400/9600 baud, 8/N/1. New users use 'new'    - 
  38. =  as a login id.  AVAILABLE VIA PC-PURSUIT!!! (City code "MIDET")        =
  39.    E-MAIL Address: absc@Michigan.COM
  40.  
  41.