How do I get a name translation for a symbolic link inside Ruby?

X

Xeno Campanoli

So I have the results of the shell command:

ln -s 20090317 latest

But I only know about 'latest'. How do I get the 20090317? I know I can do it
executing the shell and bringing in the string, but it seems there must be a
method in Ruby, right?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,025
Latest member
KetoRushACVFitness

Latest Threads

Top