Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Basic Command Line

918 views
Skip to first unread message

CHANGE username to just westes

unread,
Aug 27, 2002, 4:40:47 AM8/27/02
to
We have a computer device that uses VxWorks internally to control robotics.
The device's administrator is supposed to login and configure the device
using the VxWorks command line. After reading the long list of VxWorks
commands available within the device I don't see any way to explore the file
system and read the contents of various files. Where can I get basic
command line documentation that would explain how to do this?

Is there any chance that the manufacturer would disable these commands?
We have a situation where two similar pieces of equipment behave slightly
differently, and one takes the latest firmware and the other does not,
complaining about missing files during the bootup process. We need to be
able to see what is on the file system in order to figure out what is
missing or different on the system that won't work with the latest firmware.
Needless to say, the manufacturer isn't interested in helping us at that
level of detail (and maybe doesn't have anyone on their tech support staff
who could even do this, even if they were willing to support it).

Any tips on how we can explore the device and figure out what is wrong with
the file system structure and files is appreciated.

--
Will

NOTE: To reply, CHANGE the username to westes AT uscsw.com


Johan Borkhuis

unread,
Aug 27, 2002, 4:59:01 AM8/27/02
to
"CHANGE username to just westes" <DELETE...@uscsw.com> wrote:

> We have a computer device that uses VxWorks internally to control
> robotics. The device's administrator is supposed to login and
> configure the device using the VxWorks command line. After reading
> the long list of VxWorks commands available within the device I don't
> see any way to explore the file system and read the contents of
> various files. Where can I get basic command line documentation that
> would explain how to do this?

Is this a commandline specific for this device, or is it the generic
VxWorks command line? (What does it show after you connect or on startup?)

Kind regards,
Johan

--
o o o o o o o . . . _____________________________
o _____ || Johan Borkhuis |
.][__n_n_|DD[ ====_____ | JBor...@Proxim.com |
>(________|__|_[_________]_|__________________________|
_/oo OOOOO oo` ooo ooo 'o!o!o o!o!o`
=== VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html ===

CHANGE username to just westes

unread,
Aug 29, 2002, 11:45:31 PM8/29/02
to
It's the generic VxWorks command line with particular commands disabled.

What commands do I need to list files on the file system?

What are the critical startup configuration/script files and how do I list
their contents?

--
Will

NOTE: To reply, CHANGE the username to westes AT uscsw.com

"Johan Borkhuis" <JBor...@proxim.com> wrote in message
news:Xns92776F2DD5AD2...@192.19.193.66...

Johan Borkhuis

unread,
Aug 30, 2002, 2:36:58 AM8/30/02
to
"CHANGE username to just westes" <DELETE...@uscsw.com> wrote:

> It's the generic VxWorks command line with particular commands
> disabled.
>
> What commands do I need to list files on the file system?

With the "devs" command you can see the devices on your system. One of them
will probably be your file system. You can use the "ls" command on this
device to check.

CHANGE username to just westes

unread,
Aug 31, 2002, 3:05:25 AM8/31/02
to
What is the command to copy the contents of a file to the console?

What is the fullpath expression for file A.TXT in directory B on device C?
From any arbitrary location on the disk, how would you list the contents of
A to the console? On Windows 2000 command line of course this would be any
of:

type c:\b\a.txt // not case sensitive

copy c:\b\a.txt con

etc

--
Will

NOTE: To reply, CHANGE the username to westes AT uscsw.com

"Johan Borkhuis" <JBor...@proxim.com> wrote in message

news:Xns927A571AC94E9...@192.19.193.66...

Michael Lawnick

unread,
Sep 2, 2002, 3:19:53 AM9/2/02
to
Hi Will,

use
->copy <devname><dirname>/<filename>[,0]
devname : the name of device as listed per command 'devs'
dirname : the main-/and subdirectory sequence
The argument ',0' is optional for shell, but not within code. It will let
copy move the contents of your file to stdout (fd=0).
HTH
Michael

"CHANGE username to just westes" <DELETE...@uscsw.com> schrieb im
Newsbeitrag news:VUZb9.306135$m91.12...@bin5.nnrp.aus1.giganews.com...

Johan Borkhuis

unread,
Sep 2, 2002, 3:42:40 AM9/2/02
to
"CHANGE username to just westes" <DELETE...@uscsw.com> wrote:

> What is the command to copy the contents of a file to the console?

copy < file.txt

> What is the fullpath expression for file A.TXT in directory B on
> device C? From any arbitrary location on the disk, how would you list
> the contents of A to the console? On Windows 2000 command line of
> course this would be any of:
>
> type c:\b\a.txt // not case sensitive
>
> copy c:\b\a.txt con

The filename would be C/B/A.TXT

Some examples:
-> pwd
host:
value = 6 = 0x6
-> ls
....
test.txt
....
-> copy < test.txt
This is a test
value = 0 = 0x0
-> copy < host:test.txt
This is a test
value = 0 = 0x0
-> copy < host:/Tornado/test.txt
This is a test
value = 0 = 0x0
-> copy < host:D:/Tornado/test.txt
This is a test
value = 0 = 0x0

(host: points to the Tornado directory, this is the default directory of
my FTP server)

0 new messages