On Mon, Jun 24, 2002 at 10:44:14AM +0800, Mohammed Maeraj Hasbi wrote: > > Maybe this is quite a dumb question, > in my system, i have this one file which size is over 200Mb. How can I > truncate the file to 50k? is there any command that I can use to do this?
Try this: head --bytes 50k filename > filename.new Emmanuel _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list