Log in to ask questions, share your expertise, or stay connected to content. Don’t have a login? Join now.
To get a list of all your symbolic links (also called symlinks or soft links) run the following command on the AMP command line:# ll -R | grep ^lThe ll -R command lists all files recursively from the current directory. The second part of the command greps for the letter l as the first character in a line. A long listing of a symlink looks like this:lrwxrwxrwx 1 root root 35 May 26 18:35 error_log -> /var/log/httpd/error_log.2010-05-26If the directory tree contains a large number of symlinks, you can send the output to a file. For the /root directory, for example:# cd# ll -R | grep ^l > /tmp/symlink.txt
© Copyright 2024 Hewlett Packard Enterprise Development LPAll Rights Reserved.