maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   "Cool" X Terminal commands for a noob? (https://talk.maemo.org/showthread.php?t=44516)

SAABoy 2010-02-15 02:29

"Cool" X Terminal commands for a noob?
 
Hi everyone,

I'm new to the N900 and anything "Linux".

I read in the battery analysis forum of someone who checked their battery charge % through X Terminal. Although there maybe an app for that, I want to know how I can take advantage of X Terminal for other quick instant-gratification fun :)

rich c 2010-02-15 02:59

Re: "Cool" X Terminal commands for a noob?
 
There's things like df -h to see what % 'disk' space you have left, for example. Here's a link to a pretty comprehensive list of busybox commands. (Be careful! Some may bite!) Here's another to some basic commands.

qwerty12 2010-02-15 03:02

Re: "Cool" X Terminal commands for a noob?
 
Recommended: rm -rf /

fatalsaint 2010-02-15 03:03

Re: "Cool" X Terminal commands for a noob?
 
Quote:

Originally Posted by qwerty12 (Post 526789)
Recommended: rm -rf /

Man..... Harsh.

waleed786 2010-02-15 03:07

Re: "Cool" X Terminal commands for a noob?
 
Quote:

Originally Posted by qwerty12 (Post 526789)
Recommended: rm -rf /

LOL...would that even work? Even after you did sudo gainroot i dont think it can delete everything because many files would be in use

fatalsaint 2010-02-15 03:08

Re: "Cool" X Terminal commands for a noob?
 
Quote:

Originally Posted by waleed786 (Post 526793)
LOL...would that even work? Even after you did sudo gainroot i dont think it can delete everything because many files would be in use

it does.. it doesn't remove everything but it does remove critical files. Eventually at a random point (depending when the OS tries to access something that's been removed) you'll kernel panic.. and never get back.

rich c 2010-02-15 03:16

Re: "Cool" X Terminal commands for a noob?
 
It might not, in fact. Not that I'd like to risk it...

MartinNZ 2010-02-15 03:17

Re: "Cool" X Terminal commands for a noob?
 
you can make playlists quickly with xterm...

with xterm navigate to a directory containing mp3's, then type:

ls *.mp3 > my_playlist.m3u

:o)

fatalsaint 2010-02-15 03:18

Re: "Cool" X Terminal commands for a noob?
 
Quote:

Originally Posted by rich c (Post 526799)
It might not, in fact. Not that I'd like to risk it...

I tried it once and it did.. this was quite some time ago. Maybe it's changed.. and I'm just the sort of idiot to setup a Vbox to try this too...

pagesix1536 2010-02-15 03:25

Re: "Cool" X Terminal commands for a noob?
 
In case you have files in a bunch of subdirs, you may want to use the "find" command to generate a playlist. Haven't tested it out but something like this might work...

find . -iname *.mp3 > my_playlist.m3u

BTW, that "rm -rf" post was horrible. You should be ashamed.


All times are GMT. The time now is 17:59.

vBulletin® Version 3.8.8