LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 09-19-2005, 10:00 AM   #1
billeman
LQ Newbie
 
Registered: Aug 2005
Distribution: Mandrake 10.1
Posts: 3

Rep: Reputation: 0
Linux uptime script..


Hi,

I have tried to install the machine-uptime script from counter.li.org

but when i run the ./machine-update -i i get this error:

[troels@localhost script]$ ./machine-update -i
./machine-update: line 1: SION: command not found
./machine-update: line 2: =: command not found
./machine-update: line 13: =: command not found
./machine-update: line 36: use: command not found
./machine-update: line 39: sub: command not found
./machine-update: line 40: sub: command not found
./machine-update: line 41: sub: command not found
./machine-update: line 46: syntax error near unexpected token `('
./machine-update: line 46: `%dontask = ('


What is wrong? Have anybody else got this error, and knows how to handle it?

Bille..
 
Old 09-19-2005, 12:11 PM   #2
thermite_1033
Member
 
Registered: May 2004
Location: Antwerp, Belgium
Distribution: slackware
Posts: 112

Rep: Reputation: 18
try this

sh "machine-update -i"
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Longest Uptime for Linux, yours not somebody else's. dalek Linux - General 61 05-10-2013 11:50 PM
is there any fun() available in linux to find system uptime without using sysinfo uppala MEPIS 2 06-15-2005 10:45 AM
Linux on laptop reboots after a few mins of uptime renak Linux - Laptop and Netbook 2 04-28-2004 04:30 AM
Is there a project that talks about different linux distros' uptime? csvke Linux - General 1 03-12-2004 10:48 AM
'uptime' bash script icyfire Linux - Software 4 01-10-2003 06:53 AM


All times are GMT -5. The time now is 11:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration