Forum Home
PC World Chat
 
Thread ID: 117640 2011-04-27 07:41:00 Linux people - feedback please Erayd (23) PC World Chat
Post ID Timestamp Content User
1197658 2011-04-27 07:41:00 Hi Guys,

Noting the number of requests that have been posted of late that have required users to type in several 'arcane seeming' commands into a terminal in order to get basic diagnostic information, I've written a script so simplify this somewhat.

There's now only two steps: Run the following command
Paste the URL it gives you into a post on PressF1

wget -q -O - lintrace.erayd.net | bash -

Thoughts?

Any and all feedback would be appreciated, particularly suggestions that may simplify this for clueless users, or additional diagnostic information that may be useful.
Erayd (23)
1197659 2011-04-27 07:49:00 [jennifer@myth ~]$ wget -q -O - lintrace.erayd.net | bash -
bash: line 3: tempfile: command not found
[jennifer@myth ~]$

You will need to tell people how to run a command too. :)
Jen (38)
1197660 2011-04-27 07:51:00 [jennifer@myth ~]$ wget -q -O - lintrace.erayd.net | bash -
bash: line 3: tempfile: command not found
[jennifer@myth ~]$

You will need to tell people how to run a command too. :)Oh crikey... and there was me assuming that 'tempfile' was a common enough utility that I'd find it on everybody's system! Which distro are you running?

Thankfully that one's easily solved; adding another bash function to replace it will do the job.
Erayd (23)
1197661 2011-04-27 07:53:00 Sounds like a great idea. I'll have to try it out on one of my servers at some point. somebody (208)
1197662 2011-04-27 07:54:00 Fedora 14 Jen (38)
1197663 2011-04-27 07:55:00 Same result here, running OpenSuse 11.4. Cato (6936)
1197664 2011-04-27 08:01:00 OK, I've replaced the tempfile utility... Anything else missing? Erayd (23)
1197665 2011-04-27 08:05:00 Still getting the same error. Did you save your changes? :p Jen (38)
1197666 2011-04-27 08:10:00 set -ae in the actual script is causing the script to just exist without doing anything (or doesn't appear to do anything). Replacing it with a set -a or just removing it altogether seems to make it run at least. somebody (208)
1197667 2011-04-27 08:12:00 Still getting the same error. Did you save your changes? :pWell played... saved, but forgot to upload them to the server - this has now been rectified. Erayd (23)
1 2 3 4 5 6