SliTaz GNU/Linux official and community documentation wiki.
.png

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
en:guides:reallybasicnewbie [2013/01/28 23:43]
oui [exit]
en:guides:reallybasicnewbie [2013/01/29 11:42]
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,​ improbable and memory-intensive!     - Install as beginner all dependencies even if they seem incomprehensible,​ improbable and memory-intensive!
  
-For this reason will now look at some+For this reason will now look at
  
-===== commando ​lines transactions =====+===== some commando ​line transactions =====
  
 (what else after above recommandations) (what else after above recommandations)
Line 28: Line 29:
     * **exit** is a main commando name to leave a superordinated transaction. It ends for example the session, and, for people starting linux without //"​sessions manager"//​ directly ends the graphic phase of processing to return from Xwindow back to the console level      * **exit** is a main commando name to leave a superordinated transaction. It ends for example the session, and, for people starting linux without //"​sessions manager"//​ directly ends the graphic phase of processing to return from Xwindow back to the console level 
  
-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 etc.). You don't know that as simple user! Thousand reason can prohibit you stop a computer...+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, or your internet telephone box, nobody can call you any more, etc.). You don't know that as simple user! Thousand reason can prohibit you stop a computer...
  
 In home computer it would be to much and the distributor did generally include (as commissioned by the administrator,​ private administrator are not always accustomed in such rare jobs) more easy way to do that for each. SliTaz as distributor offers to administrator or user following commands (plus, of course, special virtual keys on the desktop or menu items in the graphic environment):​ In home computer it would be to much and the distributor did generally include (as commissioned by the administrator,​ private administrator are not always accustomed in such rare jobs) more easy way to do that for each. SliTaz as distributor offers to administrator or user following commands (plus, of course, special virtual keys on the desktop or menu items in the graphic environment):​
Line 50: Line 51:
 ==== su ==== ==== 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]**
  
 +Some commands support more than one parameter at the same time!
  
 +=== Parameter --help ===
  
 +A great number of commands is offering an Help paramater:
  
 +**SomeCommand --help**
 +
 +or shorted
 +
 +**SomeCommand -h**
 +
 +If you try that with the command **su** you will see a very helpful parameter **-c** :
 + 
 +=== su -c '​CommandToPass'​ ===
 +
 +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 ///​etc/​sudoers//​ . Using **su -c**, you have to reenter each time the root password. Using **sudo** only at the first use in the same session!)
 +
 +**su -c '​SomeWhatBeeingOnlyAble --by root'​**
 +
 +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] ​ ===
 +__**Very important:​**__ exit this phase of processing as soon as possible with the command //exit//!
 +
 +**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 ===
 +__quit the manpage with **q**__
 +
 +Will show you the manual page about the command SomeCommand.
 +Please try
 +
 +<​file>​man su</​file>​
 +
 +and read it with attention!
 +
 +===== Daily used commands =====
 +
 +Please continue [[basicnewbie|here]]!
  
-    
 
en/guides/reallybasicnewbie.txt ยท Last modified: 2013/01/29 15:27 by oui