finding strings

1998-09-16 Thread James
wait... made it a bit more user friendly... $ grep `find -name *.c -print` -ne | less it'll now display the line numbers and pipe it into less so you can read it a page at a time. -- +++ Divide By Cucumber Error, Please Re-Install Universe And Reboot +++ [EMAIL PROTECTED]

File IO

1998-09-16 Thread James
how do i do file I/O in the kernel? I.e i want to read a value from a file and store it in the kernel's uptime variable... i've tried the 'normal' open() (or was it fopen(), one of the two) but it complains (i can't remember the error, but it was as though i'd not linked something in). and if

Re: GUI

1998-09-16 Thread Pavel Leonovich
Glynn Clements wrote: VAN SY wrote: I wrote a C program a while back for the test operators of the company I work for. I want to provide them witha nice GUI for that program. We run linux 5.0 on our machine. I need a starting point. ie. books or URL where I can get more info. Some

Re: What's the biggest file?

1998-09-16 Thread David Ross
On Tue, 15 Sep 1998 12:51:04 James wrote: thought this might help someone, wrote it whilst trying to work out where all my harddrive space had gone... $ du -bax | sort -rn +0 | less it'll display all your files and directories, sorted with the biggest first (which'll always be . so