Active Topics

 


Reply
Thread Tools
Posts: 6 | Thanked: 3 times | Joined on Jan 2011 @ New York, United States
#1
Sometimes I'm using my phone, and I stop and say to myself "holy shat on a hot tin roof, there's a terminal on my phone!" The novelty amuses me, but short of using apt, vim, MC, and the occasional game of unnethack, I rarely use it.

Still though—there's a terminal on my phone. That's so neat.

I've only bricked my n900 once, so obviously I need to start using the command prompt more. What awesome or useful things (preferably both, but awesome and useless is acceptable) can the terminal be used for on the n900? Can I place phone calls with a command? Are there some CLI programs that are simply useful or do something that isn't replicated easily in the GUI?
 
Ken-Young's Avatar
Posts: 387 | Thanked: 1,700 times | Joined on Feb 2010 @ Cambridge, MA, USA
#2
Originally Posted by dagoss View Post
Sometimes I'm using my phone, and I stop and say to myself "holy shat on a hot tin roof, there's a terminal on my phone!" The novelty amuses me, but short of using apt, vim, MC, and the occasional game of unnethack, I rarely use it.

Still though—there's a terminal on my phone. That's so neat.

I've only bricked my n900 once, so obviously I need to start using the command prompt more. What awesome or useful things (preferably both, but awesome and useless is acceptable) can the terminal be used for on the n900? Can I place phone calls with a command? Are there some CLI programs that are simply useful or do something that isn't replicated easily in the GUI?
Well, managing packages with apt-get is WAY faster than using any of the GUI tools to download code (even FAM). Running python interactively provides a very fancy pocket calculator. If you install ssh you can log into remote workstations (if that appeals to you). And of course you have access to the usual Unix-style utilities like awk, find, grep et al. which make managing the files on your phone far easier (IMHO) than using any GUI filemanager. You can manually optify things by creating soft links.
 

The Following 5 Users Say Thank You to Ken-Young For This Useful Post:
Posts: 346 | Thanked: 271 times | Joined on Jan 2010
#3
Some commands to control the phone are in this wiki page :
http://wiki.maemo.org/Phone_control
 

The Following 4 Users Say Thank You to Megaltariak For This Useful Post:
qwazix's Avatar
Moderator | Posts: 2,622 | Thanked: 5,447 times | Joined on Jan 2010
#4
Code:
espeak "I am the mighty N900"
of course you need espeak

You can ssh to a webserver if you want, you can Nano a blogpost, you can get unison binary from debian arm and sync your files from your pc, find some files with find -name whatever.txt, code some python and run it, install php and run a webserver...

if I think of anything else I'll come back. (is there pdftk for arm?)

ah, and imagemagick?
 

The Following 6 Users Say Thank You to qwazix For This Useful Post:
Posts: 1,463 | Thanked: 1,916 times | Joined on Feb 2008 @ Edmonton, AB
#5
Originally Posted by dagoss View Post
I've only bricked my n900 once, so obviously I need to start using the command prompt more.
awesome

i like being able to "killall" (kills a process by name)
package management from the command line is also a life saver
if you're interested in using the terminal, there's some tricks to making it better, you can change the font color or install a version of ls that supports color, or update busybox... we will have you bricking that n900 again in no time
 

The Following 3 Users Say Thank You to Creamy Goodness For This Useful Post:
Posts: 242 | Thanked: 97 times | Joined on Sep 2009
#6
Originally Posted by Ken-Young View Post
... Running python interactively provides a very fancy pocket calculator ...
so true, its the best programmable calculator, with all programming and variables.
__________________
so i guess the the lesson learned is: "if you want a thing done well, do it yourself"
 

The Following 2 Users Say Thank You to abubakar For This Useful Post:
zoner's Avatar
Posts: 74 | Thanked: 38 times | Joined on Feb 2010
#7
Originally Posted by qwazix View Post
espeak "I am the mighty N900"
hahahaha - damn man, i'm supposed to be working
espeak "holy shat on a hot tin roof"
 
Posts: 303 | Thanked: 146 times | Joined on Aug 2009
#8
I use it for ssh, very useful.
 
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#9
Originally Posted by dagoss View Post
Are there some CLI programs that are simply useful or do something that isn't replicated easily in the GUI?
gcc,g++,sed,grep,awk,find,xargs,dpkg-buildpackage...

The list is long.
__________________
N9: Go white or go home
 
Posts: 5,795 | Thanked: 3,151 times | Joined on Feb 2007 @ Agoura Hills Calif
#10
You can use xterm to learn how Linux works and thus control your device. This is like popping open the hood of your car and finding out what all that stuff does.

You can modify things like the startup video.

You can study computer languages. A good one to start with is awk.
__________________
All I want is 40 acres, a mule, and Xterm.
 
Reply


 
Forum Jump


All times are GMT. The time now is 02:46.