Terminal?

Asked by Peter

The terminal system is by far the best thing ever. trouble is I dont know what the heck i'm doing. can someone explain how I use it and what does "sudo" mean

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-terminal Edit question
Assignee:
No assignee Edit question
Solved by:
Abi ^-^
Solved:
Last query:
Last reply:
Revision history for this message
Tom (tom6) said :
#1

For help or info about terminal open a terminal console and type

help

info

for help about a specific command type the command followed by "--help" for example

sudo --help

which gives a summary of how to use the command and what parameters you can set for it. "sudo --help" probably isn't a good example of how useful it is.

Revision history for this message
Tom (tom6) said :
#2

sudo or gksu both mean "Give the command that follows SuperUser/Root privileges" so it's as dangerous as operating commands as "su" except that it only requires the normal user password, not the SuperUser/Root one!

Note that while a command like "dir" works the linux equivalent is much nicer "ls" (a little "LS") both give a list of what's in the current folder but the linux one is colour-coded :)

Note also that while typing in a command or a pathname pressing the Tab key acts as an auto-complete or predictive-texting. Double 'clicking' the Tab key is interesting halfway through a command or pathname too. Try

cd /home

but don't press enter just press Tab 1 time pause and then twice quickly. You'll begin to se it build up :)

Good luck and regards from
Tom :)

Revision history for this message
nhasian (nhasian) said :
#3

i should also point out that gksu should be used for programs with graphical front ends instead of sudo.

Revision history for this message
Best Abi ^-^ (abiyasa-eka) said :
#4

Hello, this link should give you more information about sudo

https://help.ubuntu.com/community/RootSudo

Revision history for this message
Peter (peter192) said :
#5

Thanks Abi ^-^, that solved my question.