Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:guides:reallybasicnewbie [2013/01/28 22:46] – ouien:guides:reallybasicnewbie [2026/10/14 23:29] (current) – external edit 127.0.0.1
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 6: Line 7:
 ===== Please remember ===== ===== Please remember =====
  
-The **main** difference is, that Linux did never break with the use of commando line: All graphic figures can be considered as (often only) graphic front ends from a powerful unified processing at commando line (=binary) level. All is considered as a «file» and will be handle so, so that the commands can generally be used on each type of objects and data. The **second** difference is, that old version from Unix and Linux also did strongly manage the owners of all objects and data (the initial Windows did miss this performance!) so that you very often have to take caution in Linux don't to hurt the ownership of objects and data: The system refuses you access as well as processing! **Third** difference is, that Linux doesn't "//reinvent the wheel//". As the system is now generally free and [[OpenSource|open source]], developers can use freely the work of predecessors if it is good, fast and secure, and include such works into her new development without to need to recode somewhat! We are speaking from the as terrible considered "//dependencies//"! The commando line use of Linux meets this tendency: An application can be only a script in which programs are invoked and parameter passed and a lot of them are really so! But the consequence is of course, that when the dependencies are missing, the application does not work at all.+The **main** difference is, that Linux did never break with the use of commando line: All graphic figures can be considered as (often only) graphic front ends from a powerful unified processing at commando line (=binary) level. All is considered as a «file» and will be handle so, so that the commands can generally be used on each type of objects and data. The **second** difference is, that old version from Unix and Linux also did strongly manage the owners of all objects and data (the initial Windows did miss this performance!) so that you very often have to take caution in Linux don't to hurt the ownership of objects and data: The system refuses you access as well as processing! **Third** difference is, that Linux doesn't "//reinvent the wheel//". As the system is now generally free and open source, developers can use freely the work of predecessors if it is good, fast and secure, and include such works into her new development without to need to recode somewhat! We are speaking from the as terrible considered "//dependencies//"! The commando line use of Linux meets this tendency: An application can be only a script in which programs are invoked and parameter passed and a lot of them are really so! But the consequence is of course, that when the dependencies are missing, the application does not work at all.
  
 If you remember that you will probably avoid some difficulties to accustom in Linux coming from Windows! If you remember that you will probably avoid some difficulties to accustom in Linux coming from Windows!
Line 18: Line 19:
 For this reason will now look at For this reason will now look at
  
-===== some commando lines transactions =====+===== some commando line transactions =====
  
 (what else after above recommandations) (what else after above recommandations)
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]**
  
 +<note tip>Some commands support more than one parameter at the same time!</note>
  
 +=== 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 '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]  ===
 +<note warning>exit this phase of processing as soon as possible with the command //exit//!</note>
 +
 +**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**</note>
 +
 +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.1359413217.txt.gz · Last modified: by oui