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.
OK, so I installed Mandrake Linux on my Win 2k machine today. This is the first time I have ever used Linux before and so far, its not bad. I will have to get used to it! Anyways, I was on the Linksys website and tried to use their Java Chat tech support and it said I didn't have Java, so I go to sun's website and download Java for Linux (not RPM linux) and follow their instructions on how to install it through the terminal. Well, I got it installed ok, but noticed that the path it installed to is my desktop. So now, I have a protected folder on my desktop. I then found out that Java is included in Konqueror, so I didn't need the newly installed program - just Linksys's website didn't pick it up for some reason. So, how can I uninstall this program and get the folder off my desktop?
thanks. yes it is an entire folder that I need to delete. So it looks like that terminal works similarly to DOS. Is there a cheat sheet somewhere that gives a quick and dirty list of popular commands?
you can also look at the man pages by typing man <command> in the terminal. for example the man page for the rm command is displayed when you type man rm. you can do this for any command you need help with.
OK, I tried it this morning and nothing happened. Here is what I typed:
[name@localhost name]$ su
Password:
[root@localhost name]# cd /home/name/desktop
bash: cd: /home/name/desktop: No such file or directory
[root@localhost name]# cd
[root@localhost root]# cd /home/name/Desktop
[root@localhost Desktop]# ls
Home.desktop j2re1.4.2_04/ Trash/ Welcome.desktop
[root@localhost Desktop]# rm -rf j2rel.4.2_04
[root@localhost Desktop]#
I went to the desktop and the folder is still there with it's contents and subfolders
by the way, if it helps, the folder has a padlock on the icon that I see on the desktop. so I guess the real problem is how do I unprotect this folder and it's contents?
[root@localhost home]# ls j2re1.4.2_04 -l
ls: j2re1.4.2_04: No such file or directory
[root@localhost home]# ls /j2re1.4.2_04 -l
ls: /j2re1.4.2_04: No such file or directory
[root@localhost home]# cd /home/name/Desktop/j2re1.4.2_04
[root@localhost j2re1.4.2_04]# ls
bin/ COPYRIGHT LICENSE README
CHANGES javaws/ man/ THIRDPARTYLICENSEREADME.txt
ControlPanel.html lib/ plugin/ Welcome.html
[root@localhost j2re1.4.2_04]# ls CHANGES -l
-r--r--r-- 1 root root 1098 Feb 24 10:46 CHANGES
[root@localhost j2re1.4.2_04]#
OK, so I had a little problems getting the permissions settings on the folder, but one of the files inside the folder that I can't delete has the above permissions.
hehe, I new it was a permissions problem, but I couldn't figure out how to fix it. I found the permissions tab in the properties by right clicking the folder, but I couldn't change anything from there. Apparently I am not given the administrator privilages when I log on at startup. If there any way to fix it so I don't have to chmod stuff every time I want to delete it?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.