View previous topic :: View next topic |
Author |
Message |
trumee Guru
Joined: 02 Mar 2003 Posts: 551 Location: London,UK
|
Posted: Wed Jun 11, 2003 7:18 pm Post subject: Freak uptime? |
|
|
Is it possible to change uptime on the fly
I was planning to show my windoz frnds some show!! |
|
Back to top |
|
|
Lycander Guru
Joined: 10 Apr 2003 Posts: 468
|
Posted: Wed Jun 11, 2003 7:24 pm Post subject: |
|
|
Sure! Create a new plain text file and call it "uptime" but put it somewhere that won't conflict with the real app.
Inside the text file write:
Code: |
echo "Uptime: 999 years"
|
You can change the wording a little to look like the real thing. Open a terminal and navigate to the directory you saved the file in. Do:
chmod +x ./uptime
That'll make the text file executable. Now when you in a terminal and in that directory, ./uptime will make it print that text out and impress your friends.
If you want to get fancy, make a script or console app in C that'll get the actually uptime and add a few extra months/years to it _________________ * Blessing /dev/hda2 with holy penguin pee |
|
Back to top |
|
|
|