Skip to main content

how do i pipe this

More
16 years 7 months ago #23992 by MadFLy
how do i pipe this was created by MadFLy
i need to pipe the hdparm command into a txt file called hd.txt, i know hdparm is used to get statistics on a hard drive or parameters, but when i tried it it didnt work...

suppose it should be something like this...

hdparm /dev/hda5 > /hd.txt or should it be

hdparm /dev/hda5 | /hd.txt ......
More
16 years 7 months ago #23994 by pfunix
Replied by pfunix on topic Re: how do i pipe this
the first one should do the trick.
More
16 years 7 months ago #23995 by MadFLy
Replied by MadFLy on topic Re: how do i pipe this
Thanks...

Im going to do my referral just now, just came to a internet cafe to check for a reply...
More
16 years 7 months ago #23997 by MadFLy
Replied by MadFLy on topic Re: how do i pipe this
oh my goodness, when i got to class i realised it wasn't the hdparm command i had wrong but infact the fsck thingy...

i got someone to help me...

but thanks anyway
Time to create page: 0.183 seconds