Author Topic: Terminal Program  (Read 3214 times)

Cy1clown

  • Newbie
  • *
  • Posts: 29
    • View Profile
Terminal Program
« on: March 03, 2006, 10:34:36 am »
Can anyone direct me to some instruction on how to use the Terminal progam that comes with the sharp rom (latest version for SL5500)?  Specifically i am looking for a list of cammands and what they do.  Also how to work with files and linking files.  Is there a book that would help me?

Jon Steckelberg

bluedevils

  • Hero Member
  • *****
  • Posts: 1284
    • View Profile
    • http://
Terminal Program
« Reply #1 on: March 03, 2006, 11:08:01 am »
Code: [Select]
busybox --help
this will get you a list of commands the busybox can do

Code: [Select]
busybox --help
this will tell you more about the command

Most commands are similar to the normal linux commands so linux tutorials are still relevant.

symlinks:  ln -s <original> <link>
remove recursive and forced, the waay too dangerous for newbies to use: rm -rf <file/directory>
copy a file: cp <original> <new>
move or rename a file: mv <original> <new>
list all files and directories in long format: ls -al
filesystem stats: df -k
change directory: cd
make directory: mkdir
remove directory: rmdir
switch user using their profile: su - <user>

I suggest learning vi if you get comfortable with commandline
« Last Edit: March 03, 2006, 11:09:45 am by bluedevils »
I'm now an iphone user and use my zaurii as serial terminals, perl and shell scripting and when I need 640x480 screens

sl-c3100/pda cacko 1.23 | sl-6000l/needs battery | sl-c760/server pdaxrom rc12 | Former sl-5500/tkcrom owner (sister's birthday gift)

Cy1clown

  • Newbie
  • *
  • Posts: 29
    • View Profile
Terminal Program
« Reply #2 on: March 03, 2006, 03:19:05 pm »
bluedevils

symlinks: ln -s <original> <link>

is this the command I use to link two files. Say a lib file to a program file?
and if so do i need to be in the directory where both files are before i link them or can i give the path names in the command

Jon

bluedevils

  • Hero Member
  • *****
  • Posts: 1284
    • View Profile
    • http://
Terminal Program
« Reply #3 on: March 03, 2006, 03:33:15 pm »
I think you are thinking of ld, but I don't think that is available on the stock Z.  I think most programs are statically linked.  I'm not sure.

symlinks are pointers.  So you can have a files and directories referenced from different locations.
I'm now an iphone user and use my zaurii as serial terminals, perl and shell scripting and when I need 640x480 screens

sl-c3100/pda cacko 1.23 | sl-6000l/needs battery | sl-c760/server pdaxrom rc12 | Former sl-5500/tkcrom owner (sister's birthday gift)