Sudo – means superuser ‘DO’. As in “run as administrator”.
not sure what you mean by “command is useless if I don’t know whats in directories”.
try the [B]ls[/B] command. (as in [B]l[/B]i[B]s[/B]t)
You must be new to linux commands… Take things one step at a time and you will be familiar in no time.
VI - a really basic text editor.
How to edit text?
use arrow keys to move up,down,left,right…
when you get to where you want to make a change, press the insert key on the keyboard. this will put you in INSERT mode. This will allow you to delete, backspace and change text to your desire.
When you are all done, just press escape. This will escape INSERT mode.
You can move the cursor somewhere else now and edit it (by hitting INSERT again).
All done? well to save your file you need to NOT be in insert mode, and press : (yes a colon. so you will have to hold shift and press the : key)
now you will see the colon appear at the bottom of your screen.
:
now what? Type in one of the following to perform an action.
w = write
q = quit
! = force
so to save and exit you have to type this
:wq!
Hope this proves useful.
EDIT: from Zardans suggestion – Nano is for GUI… which is not always available. VI is always available.