Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6361187
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T23:44:38+00:00 2026-05-24T23:44:38+00:00

On a Unix/Linux system I need to run the find command on a set

  • 0

On a Unix/Linux system I need to run the “find” command on a set of directories to find what all the symbolic links within those directories are. I need to get a list of the symbolic link paths in one file AND a list of the output of “ls -l” on those symbolic links in another file. How can I do this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T23:44:39+00:00Added an answer on May 24, 2026 at 11:44 pm

    Change to the directory in question, then:

    $ find -type l > /tmp/link_names.txt
    
    $ (for link in $(cat /tmp/output.txt); do ls -l "$link"; done) > /tmp/link_details.txt
    

    Warning: if any of the paths contain spaces you’ll have to use something like this to get the “ls -l” output:

    $ find -type l | -print0 | xargs -0 ls -l > /tmp/link_details.txt
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to run a standalone ruby script as Unix (linux) daemon. After running
Is there an equivalent command on windows for the UNIX/Linux sync command? I need
On a modern Unix or Linux system, how can you tell which code set
How to find unix/linux system info like OS version, RAM, no. of processors, hard
Python for Unix and Linux System Administration is aimed at sysadmins. Any other favorites
In Unix/Linux, how do you find out what group a given user is in
I want to be able to do the Windows equivalent of this Unix/Linux command:
I have a C# command-line application that I need to run in windows and
I need to write to a file present in Linux system having a Samba
I need to measure, in C++ on Linux (and other Unix-like systems), the CPU

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.