Author Topic: Let's have a look at Linux  (Read 6766 times)

Unhban

  • Sr. Member
  • ****
  • Posts: 322
  • Thinks....
Let's have a look at Linux
« on: January 14, 2009, 12:37:14 PM »
For those who want to explore the machine more and who want to learn a little about the 1T (or 1T+) operating system - Linux - then they will of course need XTERM loaded on to the machine firstly. XTERM gives a command line and so this then allows being able to see underneath the desktop and see files and directories that run the machine. Of course, changing any of the directories or files without knowledge of what you're doing can make the machine run wrongly or not at all.

XTERM is available from the CnMLifestyle site - http://194.150.201.35/cnmlifestyle/downloads.htm

So you have XTERM loaded. If you click on the icon on your desktop a window will open and present a virtually blank box. This is the command line of the Linux Operating System. Try typing  ls  , then hit return. You should get a short directory listing (ls means  list  - in Linux it's normal for many commands to be shortened).

Also in Linux, it's normal for you to be able to add an argument or modifier to the command. Now try entering  ls -l  and hit return. This gives a longer listing. It shows the file or directory permissions (who can access it, read or write), who owns the file or directory, and the date and time the file or directory was created. With some commands you can use  <command> -h  and it'll show a short help file.

Now let's change to one of the directories. The command to change to a directory is  cd <directory name>  . So... type  cd etc  (we're changing to the etc directory). You'll see the  /  has changed to  /etc  . Now list the contents (ls). When you've had a peruse how do we go back to where we were? To go back one the command is  cd ..  (that's  cd  followed by a space, followed by two full stops - then hit Return).

Now type  busybox . This gives a list of all Linux Operating System commands available. Some are very dangerous commands. Very dangerous. So instead of trying any it's first best to know what they do.....

Have a look here for details on each one:

http://linuxcommand.org/superman_pages.php

Also have a look at the LinuxCommand home page on that site...

Now, you're starting to delve into Linux!


« Last Edit: January 14, 2009, 12:47:10 PM by Unhban »

g3wyw

  • Newbie
  • *
  • Posts: 29
Re: Let's have a look at Linux
« Reply #1 on: February 09, 2010, 10:15:43 AM »
Following on from Unhbans introduction:

Busybox is a program that encapsulates all the major linux commands into a single binary file. It is much smaller because the commands can share common code and it has evolved for embedded systems like our LLL.

You can find more about the commands supported in Busybox by typing busybox at the $ prompt as above and on each command by typing its name followed by -h or --help. eg ipaddr -h

There is a definitive list of busybox commands at http://busybox.net/downloads/BusyBox.html

 
« Last Edit: February 09, 2010, 10:19:11 AM by g3wyw »

Tank

  • Newbie
  • *
  • Posts: 8
Re: Let's have a look at Linux
« Reply #2 on: February 09, 2010, 10:40:48 AM »
Thanks for that, been wanting something like that to get me started at looking inside my machine and this looks very good so will try it out, Thanks again
Tank

Mado

  • Newbie
  • *
  • Posts: 27
    • Zijn Wij Dat?
Re: Let's have a look at Linux
« Reply #3 on: February 09, 2010, 04:23:49 PM »
This is a very nice topic  ;D I have my Epc 700 now for almost three months and i try to learn Linux. With help from my brother in law i have written my first script http://www.zijnwijdat.nl/2010/01/linux-v-robs-beeldscherm-script/ (to dim the screen) and that's really a kick. I have downloaded some really helpful instructions http://doc.nl.linux.org/ (I am Dutch) And this website is also very helpful: http://members.home.nl/janrinze/trendtac.html Unfortunately not everything works on our LLL. So if you could tell more, at least one member of this site will be very happy.
Keep up the good work!
« Last Edit: February 09, 2010, 04:25:40 PM by Mado »
Trendtac Epc 700BL Black 128 MB RAM, 2 GB SSD, kernel V70 Skytone bootscreen, MX 4 Ultra OS.
ZTE MF628 HSDPA USB Modem (which i can't use with my Trendtac :-( )

Unhban

  • Sr. Member
  • ****
  • Posts: 322
  • Thinks....
Re: Let's have a look at Linux
« Reply #4 on: February 10, 2010, 11:22:35 AM »
Hi Mado, yes I hope this topic helps a few to get into understanding Linux and using it.

What would extend the understanding would be for some kind soul to give a list of what files are where.... As I'm sure many have come across, files and config files seem to be almost randomly placed - and each flavour of Linux seems different!

I'm afraid I'm as confused as the majority, which stops me dabbling - a pity!

Unh.