OESF Portables Forum

Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Software => Topic started by: Cy1clown on March 03, 2006, 10:34:36 am

Title: Terminal Program
Post by: Cy1clown 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
Title: Terminal Program
Post by: bluedevils 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
Title: Terminal Program
Post by: Cy1clown 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
Title: Terminal Program
Post by: bluedevils 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.