Results 1 to 3 of 3

Thread: saving output of the dmesg |less command to Floppy or DOS

  1. #1
    rioguia
    Guest

    saving output of the dmesg |less command to Floppy or DOS

    Preliminary Question: I am trying to configure a PSMCIA card on a laptop and I think it would help to solve this problem if I could provide the
    output of the dmesg |less command. I have cut and pasted this output into keditor,
    kwrite, etc but have not been able to save them to either a floppy disk or a
    windows parition (hda1) so that i could acess the data and provide it here. If someone
    could provide step-by-step instruction on how to do this I would be very greatful.

  2. #2

    Re:saving output of the dmesg |less command to Floppy or DOS

    you can use '>' to output somethihg to a file.
    so if you go dmesg > output
    it will give you a file with all the output in it.
    to copy it to the floppy, mount it then use the cp command
    eg
    mount /mnt/floppy
    cp output /mnt/floppy
    whatdoyougetwhenyoumultiplysixbynine??

  3. #3
    rioguia
    Guest

    Re:saving output of the dmesg |less command to Floppy or DOS

    GOOOAAAALLLLL!

    Thanks so much for the help. I spent three hours trying to do that through the gui interface editors last night. This unix stuff is pretty slick.

    I had to vary from your very clear, step-by-step instructions in only one respect. When I orginally tried to copy the output as 'output," to an msdos floppy, linux complained that it couldn't copy a "regular" file to that directory. So I thought about it for a while and said, "OK, let's call the file "output.txt." That did it. I'm very greatful that you took the time and the care to answer a stupid question. I hope I can return the favor to some other novice in the future.

Similar Threads

  1. Using IPTABLES to block access to samba except certain IPs
    By addicted2linux in forum Linux - Software, Applications & Programming
    Replies: 1
    Last Post: 02-01-2006, 03:02 PM
  2. IPTables stuff
    By tarballed in forum Linux - Software, Applications & Programming
    Replies: 8
    Last Post: 02-18-2003, 10:54 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •