Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
When I do ls -l data for directory data, I see this
lrwxrwxrwx 1 1257 sftop 37 Apr 6 2005 data > /usr/test/softfac/
I am wondering what is data > /usr/test/softfac/ and how can I remove > /usr/test/softfac/ . When I try to access data directory through fileZilla, it get redirected somewhere else instead of showing it's content, I want to get rid of it.
Thanks
When I do ls -l data for directory data, I see this
lrwxrwxrwx 1 1257 sftop 37 Apr 6 2005 data > /usr/test/softfac/
I am wondering what is data > /usr/test/softfac/ and how can I remove > /usr/test/softfac/ . When I try to access data directory through fileZilla, it get redirected somewhere else instead of showing it's content, I want to get rid of it.
Thanks
The reason you are "redirected" is because it is a symbolic link. In Windows term, this would kind of be like a shortcut. For example, if you click on a shortcut for Filezilla that is on your desktop, you will be "redirected" to the filezilla program.
I am wondering what is data > /usr/test/softfac/ and how can I remove > /usr/test/softfac/ .
If you don't know what it is, why do you want to remove it? Since this is apparently your first post to LQ.org (welcome, BTW!) I would assume that you are a new Linux user. My advice to a new user would be to NOT remove things that you don't yet understand.
If you don't know what it is, why do you want to remove it? Since this is apparently your first post to LQ.org (welcome, BTW!) I would assume that you are a new Linux user. My advice to a new user would be to NOT remove things that you don't yet understand.
I don't want to delete folder 'data', I just want to remove the system link to /usr/test/softfac. If someone can guide me how to remove the link, I would really appreciate it.
You don't have a directory named data.
Your data directory is /usr/test/softfac (indirectly).
As said, to remove the symlink, without doing anything to /usr/test/softfac.
>> rm data
To put it back again after you discover that was the wrong thing to do.
>> ln -s /usr/test/softfac data
If you delete the directory /usr/test/softfac, the symlink data will be a broken link and will not work anymore. This cannot be easily fixed, unless you saved the /usr/test/softfac and put it back again.
Why it is setup this way is not obvious, but there usually was a reason.
You should first determine if the reason no longer applies.
It would probably be safer to just a different name than data for filezilla.
Alternatively rename the thing until you figure it out.
>> mv data data_softfac
Last edited by selfprogrammed; 12-07-2013 at 05:23 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.