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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
hello, i use Redhat 9.0 and i had this MP3 cd that i use in my mp3/cd player, that i moved one file from that had mp3 format songs in it, and i cant delete it. i would like to know if anyone has had this problem, or if they know how to fix it.
if you could help me this would be greatly appreciated.
presuming that you have permissions for the file you should just be able to use:
or rm -rf whatever_the_file_is.mp3 if you get some complaints about the last one. this is under the assumption that the file to be deleted is on your hard drive in your current working directory. it is a bit unclear from your post where the file is and what you have done unsuccessfully to try to remove it. you will get much better responses if you give more detailed description of your problem and what steps you have taken in trying to fix it.
ya i figured that out, and i deleted most of the songs, but now i have one problem. there are songs with ( and ' and i cannot remove them. i used the rm (directory), but now i cannot remove the ones with the ( or the '.
i have an .mp3 cd that i use for my cd/mp3 player, i tried moving a file from the cd onto my linux drive, and it said that i could not write or edit them, and apparently i dont have permissions. i was asking my friend over the internet how to remove the files and i got most of them, but there are 2 left that have a ( and the other has 2 apostraphe's and i cannot remove the files unless those are somehow... i don't know. um... i was also wondering where i could change my administrative properties so i have permissions for everything. as you can probably tell im a windows user mostly, so i am used to having things right in front of my face. is there some command that i type in the terminal so that i can have permissions for everything?
the command su will give you temporary root permissions, it will ask you to enter the root password, and you can act as root to get what you need done.
after entering the correct root password you should note your shell prompt change from $ to #, as long as it is # you are acting as superuser. when you are finished with whatever it was that you needed to do, type exit to get back to normal user mode. notice now that your prompt went back to $.
that's ok but i think the best solution is this:
in "system" sub-menu of the "start" button (sorry for the "start", but it's only to understand better what we are talking about) there shoyld be an utility named "file manager - superuser mode" or something similar. you can use it to remove your files using a graphical interface. or you can also login in kde as root, remove your files and logout. why are we complicating our life using shells and bash when the solution is so simple!!
Before you try to use the "su" command, you may do this. From any terminal, change directory to where your songs are and type
ll (thats LL)
it will give you a list of files with permissions. If they are owned by root, only root can delete them. If it is the case, use SU and log in as root. Then change the names of the files using mv command. Syntax of MV command is ...
mv oldfile.mp3 newname.mp3 (make these new names without the special characters)
then use rm *.* inside the directory. Luckily our good ol' DOS *.* works here
exit root mode by typing exit.
If root does't own these files, you can still be root and delete it. But, using SU when you don't really need it is not suggested.
ya they were read only. and i could not delete them. so this really helps me alot.. but i set the resolution too high on my pc, and i cannot acces linux until thurs. when i plug it back into the monitor i installed it with.. i wanted to delete them because it takes up space.
thx for the help
if theres any way to solve the res problem that could help me too.