- Posts: 18
- Thank you received: 0
how do i pipe this
17 years 3 days 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 ......
suppose it should be something like this...
hdparm /dev/hda5 > /hd.txt or should it be
hdparm /dev/hda5 | /hd.txt ......
17 years 2 days ago #23994
by pfunix
Replied by pfunix on topic Re: how do i pipe this
the first one should do the trick.
17 years 2 days 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...
Im going to do my referral just now, just came to a internet cafe to check for a reply...
17 years 2 days 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
i got someone to help me...
but thanks anyway
Time to create page: 0.119 seconds