[HPADM] Listing explicit directories using regular expressions

From: Grimes, Niall (Niall.Grimes_at_intecbilling.com)
Date: 08/19/05

  • Next message: Grimes, Niall: "[HPADM] SUMMARY: Listing explicit directories using regular expressions"
    To: hpux-admin@DutchWorks.nl
    Date: Fri, 19 Aug 2005 09:02:59 -0600
    
    

    Hi admins,

    Is it possible to list the contents of multiple explicit directories?
    For example, with the following directory structure:

    /path/to/first/directory
    /path/to/second/directory
    /path/to/third/directory
    /path/to/fourth/directory
    /path/to/fifth/directory

    ...is it possible to list the contents of the ../first/.. and ../second/..
    directories with a single 'ls' command line?

    I've tried the following but it doesn't work:

    # ls /path/to/[first|second]/directory

    Thanks.

    This e-mail and any attachments are confidential and may also be legally
    privileged and/or copyright material of Intec Telecom Systems PLC (or its
    affiliated companies). If you are not an intended or authorised recipient
    of this e-mail or have received it in error, please delete it immediately
    and notify the sender by e-mail. In such a case, reading, reproducing,
    printing or further dissemination of this e-mail or its contents is strictly
    prohibited and may be unlawful.
    Intec Telecom Systems PLC does not represent or warrant that an attachment
    hereto is free from computer viruses or other defects. The opinions
    expressed in this e-mail and any attachments may be those of the author and
    are not necessarily those of Intec Telecom Systems PLC.

    --
                 ---> Please post QUESTIONS and SUMMARIES only!! <---
            To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
           Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
     
     Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
                http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)
    

  • Next message: Grimes, Niall: "[HPADM] SUMMARY: Listing explicit directories using regular expressions"

    Relevant Pages

    • Linux equivalent to IBM Access Connections for Windows?
      ... Connections? ... This e-mail and any attachments are confidential and may also be legally ... Intec Telecom Systems PLC does not represent or warrant that an attachment ...
      (Fedora)
    • Re: Evolution updates breaking Exchange?
      ... Glad I read your mails, I was about to try the update to see if they ... This e-mail and any attachments are confidential and may also be legally ... Intec Telecom Systems PLC does not represent or warrant that an attachment ...
      (Fedora)
    • Re: Clearing hard disks MBS
      ... Or if you have a DOS boot disk and fdisk - ... This e-mail and any attachments are confidential and may also be legally ... Intec Telecom Systems PLC does not represent or warrant that an attachment ...
      (Fedora)
    • Re: VMWare install - vmmon.ko will not build on FC5
      ... VMware Workstation 5.5.0 build-18463 ... This e-mail and any attachments are confidential and may also be legally ... Intec Telecom Systems PLC does not represent or warrant that an attachment ...
      (Fedora)
    • xorg.conf no longer changeabe by system-config-display
      ... extend my desktop onto my external monitor which would not work using ... Intec Telecom Systems PLC does not represent or warrant that an attachment ...
      (Fedora)