Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:guides:reallybasicnewbie [2013/01/28 22:00] – oui | en:guides:reallybasicnewbie [2013/01/29 14:27] (current) – [su] oui | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== SliTaz Newbie Guide - II - Training for really Basic Newbie coming from Windows | + | ====== SliTaz Newbie Guide - II ====== |
| + | ====== Training for really Basic Newbie coming from Windows ====== | ||
| Linux is not only the successor of Unix: it was the clone of that already perfectly developed OS! For this reason did Linux never need to copy Windows stuff or methods and did develop itself without getting distracted from its own objectives. And all documentation concerning Unix and, later, Linux was already perfect as Linux came, so that very old documents can be deprecated but already very useful, especially translations into other languages as they often can't be published as soon as new developments. | Linux is not only the successor of Unix: it was the clone of that already perfectly developed OS! For this reason did Linux never need to copy Windows stuff or methods and did develop itself without getting distracted from its own objectives. And all documentation concerning Unix and, later, Linux was already perfect as Linux came, so that very old documents can be deprecated but already very useful, especially translations into other languages as they often can't be published as soon as new developments. | ||
| Line 16: | Line 17: | ||
| - Install as beginner all dependencies even if they seem incomprehensible, | - Install as beginner all dependencies even if they seem incomprehensible, | ||
| - | For this reason will now look at some | + | For this reason will now look at |
| - | ===== commando | + | ===== some commando |
| (what else after above recommandations) | (what else after above recommandations) | ||
| Line 24: | Line 25: | ||
| ==== exit ==== | ==== exit ==== | ||
| + | As I resented often about the difficulty to find a way to leave an application (a ridiculous situation: The application make you prisoner!), I will try to begin my explanations immediately with this important figure! | ||
| - | | + | |
| + | In professional linux versions, you can generally not do more than close your session - You can not leave (reboot) or halt the system. And I find it is good so, because it can be possible that the administrator did connect the command of an important object (pump that avoid, that the basement of the house be flooded by water infiltration, | ||
| + | In home computer it would be to much and the distributor did generally include (as commissioned by the administrator, | ||
| + | - **reboot** | ||
| + | - **halt** | ||
| + | - CTRL+ALT+Delete | ||
| + | Sometimes the password of the administrator //root//, **root** will be required. In SliTaz 1,0 and graphic session, you have to enter one of those words in the main line of the session manager (User name line) and enter the password **root** into the password field! | ||
| + | In the applications, | ||
| + | |||
| + | * **quit** | ||
| + | * **:quit** | ||
| + | * q | ||
| + | * ALT+q | ||
| + | * M | ||
| + | |||
| + | __etc__. are variants coming in consideration (and used by applications in the Slitaz Base training !) | ||
| + | |||
| + | ==== su ==== | ||
| + | |||
| + | === Command parameters === | ||
| + | |||
| + | Precedent commands are used without parameter in above cases. A lot of commands must have parameters plus predefined objects. For example: | ||
| + | |||
| + | **SomeCommand --SomeParameter [ [SourceObject] DestinationsObject]** | ||
| + | |||
| + | <note tip>Some commands support more than one parameter at the same time!</ | ||
| + | |||
| + | === Parameter --help === | ||
| + | |||
| + | A great number of commands is offering an Help parameter: | ||
| + | |||
| + | **SomeCommand --help** | ||
| + | |||
| + | or shorted | ||
| + | |||
| + | **SomeCommand -h** | ||
| + | |||
| + | If you try that with the command **su** you will see a very helpful parameter **-c** : | ||
| + | |||
| + | === su -c ' | ||
| + | |||
| + | With this combination of the command su -c followed by an other command between to ' you can execute some commands reserved for the administrator //root// (the same thing does also the separate non preinstalled command **sudo** ; if you prefer **sudo**, you have to install it and eventually adapt the parameter file /// | ||
| + | |||
| + | **su -c ' | ||
| + | |||
| + | You will be invite to enter the valid password from **root**! The command is in that form only for the entered line valid. You don't need to exit! | ||
| + | |||
| + | === su (without any parameter, or eventually with:) [-] [user] | ||
| + | <note warning> | ||
| + | |||
| + | **su** opens a sequence of following commands giving you the right from the user, if you name an user, or **root**. I have to enter the adequate password. | ||
| + | |||
| + | With those commands and variations it is easy to respect the rule never login as //root// ! | ||
| + | |||
| + | === man SomeCommand === | ||
| + | <note tip>quit the manpage with **q**</ | ||
| + | |||
| + | Will show you the manual page about the command SomeCommand. | ||
| + | Please try | ||
| + | |||
| + | < | ||
| + | |||
| + | and read it with attention! | ||
| + | |||
| + | ===== Daily used commands ===== | ||
| + | |||
| + | Please continue [[basicnewbie|here]]! | ||
| - | |||