maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   tutorial on basic command line use? (https://talk.maemo.org/showthread.php?t=83193)

gryvn 2012-03-22 17:13

tutorial on basic command line use?
 
I can't imagine someone hasn't written one, I just can't find it. Basic command line edits and commands.

I need to edit a config file then run some commands. I could do it in DOS but not Maemo.

Specifically I'm trying to do the following, from the PC-connectivity-package install instructions.

Thanks.



<To get X11VNC working properly on Diablo, you should install a modified version of hildon-desktop package. After that, you can install X11VNC. It follows the steps:

Add the line below to /etc/apt/sources.list file of your maemo device:

deb http://pc-connectivity.garage.maemo.org/repository diablo free
Execute the following commands:

# apt-get update
# apt-get install x11vnc
# apt-get install hildon-desktop>

anthonie 2012-03-22 17:31

Re: tutorial on basic command line use?
 
And your question for the one thousand dollar fridge is?

-

Ah well; The file itself is no longer available from Megaupload but the booktitles should give you some pointers.

http://talk.maemo.org/showthread.php?t=63052

But nothing's lost forever. For example, there is:

http://linuxcommand.org/

But above all: Your question should've been answered by a simple google query done yourself.

http://bit.ly/ydsQoa

I will admit, though, there are very few results...

gryvn 2012-03-22 17:52

Re: tutorial on basic command line use?
 
"But above all: Your question should've been answered by a simple google query done yourself."

And for that we'd have had to know, going in, that Maemo uses standard Linux syntax rather than some specialized subset, which we wouldn't discover from searching the Maemo site OR Google for tutorials. Now we presumably do.

http://duckduckgo.com/?q=maemo+command+line+syntax

towhatend 2012-03-22 17:52

Re: tutorial on basic command line use?
 
Quote:

Originally Posted by gryvn (Post 1182849)
I can't imagine someone hasn't written one, I just can't find it. Basic command line edits and commands.

You need to install an RTFM interface. And for the record, there is thousands of guides. Use google or the search engine of your choice. I guess you are a troll, but anyway...

ioan 2012-03-22 17:55

Re: tutorial on basic command line use?
 
Put this in your favorites ;-)

http://i.imgur.com/CJkR9.png

towhatend 2012-03-22 17:55

Re: tutorial on basic command line use?
 
Quote:

Originally Posted by gryvn (Post 1182860)
"But above all: Your question should've been answered by a simple google query done yourself."

And for that we'd have had to know, going in, that Maemo uses standard Linux syntax rather than some specialized subset, which we wouldn't discover from searching the Maemo site OR Google for tutorials. Now we presumably do.

Well, you could try to use a command recommended in a tutorial/guide?

gryvn 2012-03-22 18:07

Re: tutorial on basic command line use?
 
I can only hope, humbly, that some day, with much diligence and study, I too can become wise and proficient in an OS that many people aren't very familiar with, so that I too can be condescending about help requests.

anthonie 2012-03-22 18:46

Re: tutorial on basic command line use?
 
Quote:

And for that we'd have had to know, going in, that Maemo uses standard Linux syntax rather than some specialized subset, which we wouldn't discover from searching the Maemo site OR Google for tutorials.
A simple two-word query (maemo5 terminal) in google returned plenty of pointers. The first two results give you quite a bit of information, already.

I mean: If you can describe your problem to me (How do I know what kind of system Maemo uses), why would you not be able to run a simple google query?

Quote:

I can only hope, humbly, that some day, with much diligence and study, I too can become wise and proficient in an OS that many people aren't very familiar with, so that I too can be condescending about help requests
Sorry dude, you're victim-attitude is completely wasted on me.

http://xkcd.com/627/

The time you took to create a new topic, asking questions that even the Romans standing before the cross had become bored with, could have been used better. So, study the comic above, and try and understand the truth it conveys. (Don't forget the mouse-over)

gryvn 2012-03-22 19:09

Re: tutorial on basic command line use?
 
"The time you took to create a new topic, asking questions that even the Romans standing before the cross had become bored with, could have been used better."

My chagrin knows no bounds. Thank you for your gracious time-efficiency analysis of my activities. I will strive to put that ten or fifteen seconds to more effective use in future, based on your polite suggestions.

Copernicus 2012-03-22 19:12

Re: tutorial on basic command line use?
 
Quote:

Originally Posted by anthonie (Post 1182879)
A simple two-word query (maemo5 terminal) in google returned plenty of pointers. The first two results give you quite a bit of information, already.

I mean: If you can describe your problem to me (How do I know what kind of system Maemo uses), why would you not be able to run a simple google query?

Alright, I just can't take this any more. If someone wanted to run a simple google query, they'd run a simple google query! The whole point of asking questions on a forum board populated by actual human beings is to communicate with actual human beings. If all you have to say is "you should enter your request into a lookup-table that associates words with popular websites" (which is all that google is), I gotta say, why are you even here? Just let Google run your Maemo forum account, and go do something useful with your time...

On the original poster's topic: the world of the Unix command line is far more rich, varied, and honestly wild-west than the DOS world ever became. :) To start with, there isn't really just one command line: there are many different "shells", each with their own advocates. By default, Maemo is using a shell called "ash" that comes with the "busybox" package. (Here's the wikipedia link for ash.) You can also download a very popular shell called "bash", if you prefer.

If you're completely new to Unix shell scripts, it is probably more helpful to work through a tutorial of the basic concepts behind shells than to just try to memorize a few useful commands. This website provides a very basic introduction to the shell, but includes some useful information about file, I/O, and job controls that have many subtle differences from how DOS does things:

http://linuxcommand.org/learning_the_shell.php


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

vBulletin® Version 3.8.8