calbear2000
Golden Member
Ok I know this belongs in the software or OS forum, but I need a really quick answer... I'm stuck at work at 11pm 🙁
There's a machine that I don't have login access to whose /tmp disk is full. I need space on the /tmp disk for my program to run.
I can do this in the Unix prompt:
rsh fhc2000 "ls -l /tmp"
and I see a 3G file that is hogging up all the disk space. I know this is a useless file (ie similar to a core dump) so I can modify without owner's permission. The file is writeable, so the question is how do I shrink the file without logging into that machine? I'd love to be able to just vi the damn thing and remove the billion lines of garbage but I can't
I need something similar to this:
rsh fhc2000 "command_to_write_something_to_this_file /tmp/core"
Any help is greatly appreciated!
There's a machine that I don't have login access to whose /tmp disk is full. I need space on the /tmp disk for my program to run.
I can do this in the Unix prompt:
rsh fhc2000 "ls -l /tmp"
and I see a 3G file that is hogging up all the disk space. I know this is a useless file (ie similar to a core dump) so I can modify without owner's permission. The file is writeable, so the question is how do I shrink the file without logging into that machine? I'd love to be able to just vi the damn thing and remove the billion lines of garbage but I can't
I need something similar to this:
rsh fhc2000 "command_to_write_something_to_this_file /tmp/core"
Any help is greatly appreciated!