Active Topics

 


Reply
Thread Tools
Posts: 529 | Thanked: 46 times | Joined on Sep 2007
#11
2 years ago I tried to rewrite Unix/Linux man pages
into manual supported by working examples,
as man pages are great as help on syntax, semantics.

But there is a problem how to build working example, script, code
from a raw man page.

Visited many Linux/ Unix support web forums
and the same questions are asked million times, over and over again,
so it looks like
Unix/Linux man pages
are not intuitive for ppl like we.

And exactly.
Unix/Linux man pages were written by top Unix/Linux developers.
So what is easy for a Unix guru is not exactly easy
for beginners like us.
 
Posts: 200 | Thanked: 15 times | Joined on Dec 2009 @ São Paulo - Brasil
#12
I couldn't agree more!
Which brings me to the question...can anyone who has tried successfully these commands show me the way??
 
Posts: 200 | Thanked: 15 times | Joined on Dec 2009 @ São Paulo - Brasil
#13
Guys...Any update on this issue?

 
Posts: 1,224 | Thanked: 1,763 times | Joined on Jul 2007
#14
You can simply run:

sleep 3600 ; shutdown

For shutdown after one hour.
 
Posts: 200 | Thanked: 15 times | Joined on Dec 2009 @ São Paulo - Brasil
#15
Originally Posted by Matan View Post
You can simply run:

sleep 3600 ; shutdown

For shutdown after one hour.
Thanx buddy. Have you tried that?

and what exactly is the command? Let's suppose I am new at this...which I am...
 
anapospastos's Avatar
Posts: 552 | Thanked: 183 times | Joined on Oct 2009 @ Not decided
#16
Originally Posted by Matan View Post
You can simply run:

sleep 3600 ; shutdown

For shutdown after one hour.
It's not working
__________________
My name was Maemo, then it became Meego and now I'm getting a third one. I am Sailfish.
 
Posts: 200 | Thanked: 15 times | Joined on Dec 2009 @ São Paulo - Brasil
#17
and If I used the kill command? What's the ".exe" for the system or for the media player?
 
Posts: 529 | Thanked: 46 times | Joined on Sep 2007
#18
@rmarcus

you can use kill to kill a process
ps -a
kill (number of a process)

to see all processes, than select one you want to kill (close),
watch processes tree for subprocesses

btw

did you try the following shell commands
(shell commands generally don't change with OS, GUI, as there are very basic Linux/ Debian shell commands)

If you can't run them, install another shell - bash
and try to run them again
and attach terminal screenshots.

As N900 is a phone, mayby there is one another process run,
to keep phone functionality on, protecting phone
against internal interferring with calls on hold, sms and the like.

In my case (Nokia 770)
I have installed bash shell 3.2
I can run bash from CLI

~ $ bash
bash-3.2$

bash-3.2$ shutdown 1 -h
( no need for sudo gainroot)

rebooted after 1 min (the above)

============
=======================================

$ sudo gainroot

/home/user # shutdown 1 -h

shutdown 1
shut down and reboot after 1 min

shutdown 1 -hP

shut down and powered off
 
Posts: 200 | Thanked: 15 times | Joined on Dec 2009 @ São Paulo - Brasil
#19
Thanx Darius, but which one has really worked for you? the one through sudo does nothing, not even an error msg.
Could you give me an actual example with the kill command?

And thank you so much for taking the time to answer me.

 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#20
I don't know if the N900 accepts init strings... but you could try

init 6

for reboot, or

init 0

for shutdown. It's not a recommended solution for desktop linux as I believe it's referred to as an "unclean" shutdown... ala "reboot". But if shutdown is not working for you.. maybe this might? (I'm not too hopeful though.)
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
Reply


 
Forum Jump


All times are GMT. The time now is 09:00.