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.
to: fanypiper. I need your help by copying my files and errors in the terminal with Redhat Linux 9. This is what i tryed.
./configure > /home/user/configure.output. In my case it would be.
./configure > /home/dsanta/configure.output. I got no such file or dircetory. I wanted to copy everything to floppy disk so when i get errors. I don't have to write what i did and what errors i got by hand. Can you please help me?? Is that command correct?? Thank You. Please reply back.
I am using Red Hat 9 at the moment and an alternate method of mount the floppy disk is to right-click a blank portion of the screen and then select floppy. I use Gnome and it works under that, I have not tied it under KDE.
So once the disk is mounted the files still need to be copied. I usually like to open a terminal window and do that with command line commands. To see what is on the floppy I type the following two commands:
To change directories to your home directory and see what is in it type these two commands:
The name of my home directory is rick so, to copy a file named TestFile1.txt from the home directory to the floppy I type this:
cp /home/rick/TestFile1.txt /mnt/floppy
I believe there is a point an click way of doing the same thing but I forget what program to use to do it that way.
Rick422, Are you with me?? I need your help. First i have a question for you. Why is it everything i want to do i can't do it and i don't understand it?? Can you take me through this step by step to copy files and errors to a floppy disk?? Thanks Rick.
I am still logged in and can answer some questions from time to time. I am eating dinner at the moment so I can only type in short answers at the moment. I am not sure if I understand what you are trying to do. Are you trying to copy error messages from the screen to into a file on the floppy disk or what?
yes. Do you remember how i was getting these error messages with the drivers?? Well i thought i would be easier for me to copy everything i typed in the terminal to a floppy disk instead of writing everything out by hand. So if i get an error installing the drivers. I don't have to write it out by hand. I could just put the floppy in and copy and paste everything on that floppy. How would i do that?? Thanks Rick. Enjoy your dinner.
1) Press on the picture of the red hat in the lower left had corner of Gnome (if you are using Gnome instead of KDE). Then select Accessories and then Text Editor.
2) Go back to the terminal window that you were using which has the error messages.
3) Highlight the text you want to copy with your left mouse button.
4) Go back to your open text editor and click once on the page. Next if you have a three button mouse press the middle button to paste the text. If you have a wheel type mouse press the wheel to paste. If you only have a two button mouse press both buttons at once or something. That method will work on most Linux computers an Unix computers.
There is at least one other way to do this althought I forget the details. Let me know if that works.
yes that worked. The only problem i have now. I copy and paste it in text editor and then i went save as. How do i save it to a floppy disk?? I don't know which one is my floppy drive. I don't know the commands and the drives under Linux. It's the A drive under Windows XP. Please reply back. Thanks Rick.
Ok, you will still need to save it to the floppy disk. Select File then select Save As. Next see if you can navigate to the /mnt/floppy directory. If you save it in that directory you will actually be saving it on the floppy. Then give the file a name and save it.
This should work with either Gnome or KDE, is just happen to be using Gnome at the moment. You actually do not need to be running either if you use a different text editor. Pasting by pressing the middle wheel works with most Linux text editors and word processors even when doing things from the command line without running X-Windows. I sometimes past things into the Mozilla browser and post it.
Also, if you are planning to look at those files with Windows Notepad or Windows Wordpad, it would be best to put a period and the extension txt after the name such as something like this:
Using an extension such as that is not absolutely necessary of course. Notpad can still open it without the extension. I do remember you and you modem troubles. You probably remember that I am the lazy person who only uses external serial modems because of how much easier they are to install. I will give you credit for being persistant anyway! I have finished dinner, I frequently eat dinner at my computer.
PS, when I said navigate to /mnt/floppy I assume you are still inside the gedit text editor just after having clicked File and then Save As. In the box on the left you will see a list of directories (Windows calls them folders). Clicking on the . . / will take you up to the next higher directory. Do that a couple of times until reaching the top most directory. Next click on /mnt and after that click on floppy. You can now go ahead and save it to the floppy disk.
If you found a slightly different way to chage to that directory that is ok. There are several ways to do that.
It could not copy it to the floppy disk for some reason. So i came up with another option. Does Linux recognize my Windows partition?? The reason why i ask this question. I want to know can i copy from Linux to my Windows partition?? That's just a thought. My Windows XP is on my C drive. Please reply back. Thanks.
Here is one other thought. Your floppy disk must have been mounted before saving the file. If you are using Gnome you can right-click a blank portion of the screen and select Disks and make sure that there is a check mark in front of the word floppy, if not select it and which should mount it. If you do that again the floppy will be unmounted. Each time you do that the floppy will either be mounted or unmounted.
If you can not figure out how to save it directly to the floppy, save it somewhere and then look back to my earliest post in this discussion to see how to find the file and move it to the floppy disk.
I just now noticed your latest question about saving to the Windows partiton. Yes that can be done. Are you currently logged in as root or under your ordinary user name? If not logged in as root type su and enter the password for root. You will then have the necessary priveleges to copy the files to a Windows partiton.
Is you Windows partiton or partitons currently mounted? Type either df or mount and see if one of them is listed. Hopefully one is already mounted and ready to go.
Excuse me, I see a few typing errors in what I wrote above. If you are not logged in as root that is ok. Just type su and the password to temporarily get super user priveleges. If you are logged in as root, of course you already have super user priveleges. Either way is ok.
If a Windows partiton is already mounted files can be copied with the cp command just as I mentioned in my first post in this discussion. You can use ls or ls -l to look at the files. Typing pwd will tell you where you currently are.