On Tue, Nov 3, 2009 at 2:09 PM, maximb <[email protected]> wrote: > I will use your suggestion and run the script as soon as I 'enhance' > the application's shell with native Linux shell commands.
Can you elaborate on what that means? Are you able to run a bash or sh shell? Are you able to boot into runlevel 1 or single? > Can you, please, post some examples of a good- and-bad looking outputs > of the script ? Here's the output when run on my Ubuntu machine: $ cat output.txt + head /etc/issue /etc/issue.net ==> /etc/issue <== Ubuntu 8.04.3 LTS \n \l ==> /etc/issue.net <== Ubuntu 8.04.3 LTS + df -hT /tmp Filesystem Type Size Used Avail Use% Mounted on /dev/sda3 ext3 20G 16G 2.4G 87% / + df -hTl Filesystem Type Size Used Avail Use% Mounted on /dev/sda3 ext3 20G 16G 2.4G 87% / varrun tmpfs 220M 116K 220M 1% /var/run varlock tmpfs 220M 0 220M 0% /var/lock udev tmpfs 220M 52K 220M 1% /dev devshm tmpfs 220M 12K 220M 1% /dev/shm lrm tmpfs 220M 40M 181M 18% /lib/modules/2.6.24-25-generic/volatile gvfs-fuse-daemon fuse.gvfs-fuse-daemon 20G 16G 2.4G 87% /home/rwcitek/.gvfs The output you get from RedHat should look similar. Although I don't remember if RH6.1 has /etc/issue or if the df command has the -T option. As for bad-looking output, it could be anything, for example an error with "command not found". Regards, - Robert --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Linux Users Group. To post a message, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit our group at http://groups.google.com/group/linuxusersgroup -~----------~----~----~----~------~----~------~--~---
