Find status of all symlinks

symlinks -r $(pwd)
The symlinks command can show status of all symbolic links, including which links are dangling, which symlinks point to files on other file systems, which symlinks use ../ more than necessary, which symlinks are messy (e.g. having too many slashes or dots), etc. Other useful things it can do include removing all dangling links (-d) and converting absolute links to relative links (-c). The path given must be an absolute path (which is why I used $(pwd) in the example command).

By: kFiddle
2009-05-01 23:33:10

What Others Think

No subshell necessary here as symlinks -r $PWD does the job as well.
penpen · 680 weeks and 6 days ago
My friend told me about essaywriter at a time when I needed serious help with a project. Never had one bad experience from the company. Great services provided on time and exactly what you ask for, also always happy to correct errors. Would highly recommend services of this someone write my essay for me company. Moreover, they have "real academic levels" not fake as I dealt with other services.
AndrinNetzer · 35 weeks and 4 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this? is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands

Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.


Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: