Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Unsolvable problem
Name: Milen Date: October 21, 2002 at 10:49:08 Pacific OS: Linux Red Hat 5.2 CPU/Ram: does not matter
Comment:
Can you please tell me where the mistake in the following script is? It seems to be doing what it is supposed to do but the problem is that there is a mistake which sould be found
$ test.sh /etc/passwd /var/log/messages
Content of test.sh: totalsize=0 for afilename in $* do size=`du -k $afilename|sed -e 's/^\([0-9]*\).*$/\1/'` ((totalsize=totalsize+size)) done echo "Total Size = ${totalsize}k"
Summary: I have been away from UNIX for quite some time, and recently have been asked to help with problems in installing a 9 gig SCSI hd as a second drive on an older UNIX box, running SCO UNIX (3.2 v 4). I...
Summary: Hello, I have an shell script to transfer a 50KB TXT file from UNIX to NT4 server. The transferred file become 4-5KB less... When I look inside the transferred file I see that some lines are deleted ...
Summary: I have a problem too! I have 2 comps on my network, host is 192.168.0.1 with subnet mask 255.255.255.0 and the client is 192.168.0.2 subnet 255.255.255.0 BUT I am unsure about what protocols and stuff...