Need some quick help from you guys. I would normally not ask for help on this but I am swamped and I know someone will be able to answer this in a second.
I want to redirect format command output to a file. My problem is when I run the my basic script for gathering system info the script does not end unless I execute a control-D. I know that the format command is causeing the issue because I removed that entry and the script worked fine.
The entry for format looks like this;
format >> system
I tried
format >> system >&- (to close STDOUT) but it did not work
Thanks
CA
I want to redirect format command output to a file. My problem is when I run the my basic script for gathering system info the script does not end unless I execute a control-D. I know that the format command is causeing the issue because I removed that entry and the script worked fine.
The entry for format looks like this;
format >> system
I tried
format >> system >&- (to close STDOUT) but it did not work
Thanks
CA