Page 1 of 1

Using the console

Posted: Sun 18 Oct 2009, 08:17
by Lobster
I suppose one of the first stages of Linux programming is using
the console (on desktop) a little . . .

for example
zip filename * this is a comment - zip all the files in the directory
md5sum puppy4.4CE.iso checks if file has downloaded OK

and maybe these individual commands:
  • clear
    cal
    top
    eject sr0
    free
. . . and then what? . . .

Posted: Sun 18 Oct 2009, 10:47
by Cooleech

Posted: Sun 18 Oct 2009, 19:43
by disciple
ls, cat, grep, head, tail, cut, |, echo, >, <, >>, sed
xdialog, gtkdialog
Look at (and modify) other people's code. Google to find it if necessary.

Find that recent topic about the reference card for linux commands. And the gtkdialog hints and tips thread.
Of course Puppy could always include a proper language like tcl as well :)

Posted: Mon 19 Oct 2009, 09:20
by disciple
I followed the tutorial link someone posted http://steve-parker.org/sh/variables1.shtml, and was learning things by the time I got to page 4 :)

Posted: Mon 19 Oct 2009, 12:02
by 01micko
disciple

That is the first bash tutorial that I discovered too (possibly the same link).. in early Pwidgets days (almost a year ago)

Posted: Thu 22 Oct 2009, 11:47
by Lobster
just created this simple example of creating s script on Youtube - very basic :)
http://www.youtube.com/watch?v=KOeMQOy0 ... r_embedded