SliTaz GNU/Linux official and community documentation wiki.
.png
Translations of this page:

This is an old revision of the document!


Daily used Linux commands

After the start of our SliTaz base (see here) we did login and see now, following a Welcome message, a prompt folling a short indication:

tux@dolilive:~$ _

We can immediately understand who is doing where:

  • tux is my login
  • @ as I am “at”, read the next…
  • dolilive somewhat like do_Linux_live
  • : what we will do is awaiting at the prompt and it will be active here (in absence of some concrete object, that would redefine the destination):
  • ~ in my «home» (~ is the symbol for the home of the user logged in!)

warning: ~ depends from the rights you actually have:

If you are really root, all data beeing automatic registered will be registered in the special directory /root. The tree of main directory is also named root of the file system. His symbol is the first sign / that you see alone or in first place in all paths! It is not possible to unbind the root of the file system and the main directory root used by the administrator root for his administrative transactions! This directory /root is as far a special directory for ex. as it has to be in the same partition as the try of main directories as well as the content of its first level!

The home of users is logged in the main directory /home. The home of users is a subdirectory in home! The path see as follow:

/home/tux

(tux can be defined differently at the installation if you don't like to be a Tux! In such a case the path would be: /home/SomeWhatYouWillBe). Both, the content of home as well as the content of SomeWhatYouWillBe can be logged in a separate partition. The automatic installer in the SliTaz Panel help you to do that if you wish it!)

We enter now at the prompt our first command:

ls

You don't need to exit it

ls is a command to list files, used alone in the actual directory. Adding parameter and/or path it can do that in each directory where you actually have rights and do really more as to showing the file names.

Test please:

  • man ls
  • ls –help

and test now please:

  • ls /usr/bin
 
en/guides/basicnewbie.1359462133.txt.gz · Last modified: 2013/01/29 13:22 by oui