x terminal help
I've had my n900 for almost a month now, and i'm at that point where i'm trying to become a more advanced user of maemo. And learning linux is hard when your used to dos/windows.
I have read some unix command line guides.. but i'm currently stuck. i'm trying to edit a file through the terminal, in usr/bin/ Any one who can point me in the right direction with this? |
Re: x terminal help
Hi there !
You probably do not want to want to edit any file located in /usr/bin/* as those are binary file. Now, the first thing you need to learn is how to use a text editor (vi comes by default) http://www.unix-manuals.com/tutorial...i-in-10-1.html Then read a bit about bash (even if the default shell is not bash, you still need to understand things such as environment, paths and so on). A good thing is to pay with the shell on a virtual machine so you do not take the risk of bricking your device trying to edit important file as root :-) |
Re: x terminal help
Quote:
i'd suggest a vi tutorial to get the OP started, it's the default cmdline editor on many platforms, but it can be a bit confusing for beginners. edit: wow, i must've been somewhere else when i posted that... didn't even realize that i posted the same link as pamadio -.- |
Re: x terminal help
You might consider reading my post here:
http://talk.maemo.org/showthread.php?t=37768 It probably will save you a lot of frustration. Cheers Bjoern |
Re: x terminal help
Quote:
cd /usr/bin + Enter to go into bin folder. Once you're in /usr/bin /usr/bin $ ls "display all contents just like DIR in windows CMD" find the file name you want to edit, then type /usr/bin $ vi filename.xx oh you can do it by: $ vi /usr/bin/filename.xx |
Re: x terminal help
For the beginning you might consider "nano" as editor.
It is in the Fremantle-Tools repository. Anyway, you should get some Linux distribution on your Desktop to play around and get comfortable with Linux and CLI. Kind regards Bjoern |
Re: x terminal help
Quote:
Nano is far more user friendly than vi. |
Re: x terminal help
Quote:
nano is very similar to gedit. |
Re: x terminal help
thx for all the replies :) the links you guys posted, looks like just what i need to move forward.
|
Re: x terminal help - Learning Linux w/o Trashing N900
Quote:
This one is excellent for that purpose - as it is pure debian http://sidux.com/ If you want a walker, try ubuntu |
All times are GMT. The time now is 17:50. |
vBulletin® Version 3.8.8