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

Help to beginner!

0 views
Skip to first unread message

Andrey G. Otroshenko

unread,
Oct 21, 1998, 3:00:00 AM10/21/98
to
Hello, All!

I am beginner. One man gave me today HDD with QNX installed.
Purpose - to make me a little familiar with QNX.
But he forgot to give me description of QNX command-line commands

Can somebody send me quickly (to-morrow I'll call my friend and the next day
I'll get the full description) a short list of commands:
DOS command: QNX-command:
dir
cd
mkdir
copy

And one more question: what must I do for the prompt looks like

root\usr\free>

and not simple:

#

Andrey G. Otroshenko
Please E-Mail me: ntkl...@cityline.ru


Inge Vabekk

unread,
Oct 21, 1998, 3:00:00 AM10/21/98
to
Andrey G. Otroshenko wrote in message

>Hello, All!
>
>I am beginner. One man gave me today HDD with QNX installed.
>Purpose - to make me a little familiar with QNX.
>But he forgot to give me description of QNX command-line commands
>
>Can somebody send me quickly (to-morrow I'll call my friend and the next
day
>I'll get the full description) a short list of commands:
DOS command: QNX-command:
dir ls
cd cd
mkdir mkdir
copy cp

Do the following:
ls /bin

and check out the names (commands) in that directory.
Also, check out
ls /usr/bin

For commands that seem to be interesting, write
use <command>

Example: For description of cp, try
use cp

>And one more question: what must I do for the prompt looks like
>root\usr\free>


For the prompt, insert the following line in either /etc/profile,
or in your own .profile or .kshrc file (in the home directory that you
are in immediately after login):

export PS1='$PWD->'

This is what I'm using:
export PS1='$NODE.$LOGNAME:$PWD->'

which tells me not only my working directory, but also my login ID and the
node number of the machine in use.

Happy QNXing!
--
*** Focus on QNX technology ***
in...@arxi.nospam (remove spam....)


Lance Roberts

unread,
Oct 21, 1998, 3:00:00 AM10/21/98
to
> Can somebody send me quickly (to-morrow I'll call my friend and the next
day
> I'll get the full description) a short list of commands:
> DOS command: QNX-command:
> dir ls -l
> cd cd ( qnx uses / for directories to DOS's \ )
> mkdir mkdir
> copy cp

to get a description of the commands, type 'use' before it. eg 'use cp'
will give you a list of it's options.
and 'ls /bin' will give you a list of most of the commands available.
others can probably be found by typing 'ls /usr/bin'

>
> And one more question: what must I do for the prompt looks like
>
> root\usr\free>
>

> and not simple:
>
> #

export PS1='# '

should do it.

regards
Lance

Steve Reid

unread,
Oct 21, 1998, 3:00:00 AM10/21/98
to
Andrey G. Otroshenko (ntkl...@cityline.ru) wrote:
: Hello, All!

: I am beginner. One man gave me today HDD with QNX installed.
: Purpose - to make me a little familiar with QNX.
: But he forgot to give me description of QNX command-line commands

: Can somebody send me quickly (to-morrow I'll call my friend and the next day


: I'll get the full description) a short list of commands:
: DOS command: QNX-command:
: dir

: cd
: mkdir
: copy

dir = ls
cd = cd
mkdir = mkdir
copy = cp

You can type "use <cmd>" to get a quick summary of the syntax and options
for any command, <cmd>.

If your friend was so kind as to give you the docs, you're in business.
They're usually installed in directories under /usr/help/product.
They're in HTML and are best viewed in the Photon Helpviewer, but pretty well
any browser will do.

: And one more question: what must I do for the prompt looks like

: root\usr\free>

: and not simple:

: #

It looks like the prompt has been set up to show your current
working directory. That shouldn't affect what you do.

Mario Charest

unread,
Oct 21, 1998, 3:00:00 AM10/21/98
to
Also do an ls of the /bin and /usr/bin directory, this is where most command
resides, that will give you an idea of the available commands.

Andrey G. Otroshenko wrote in message <90899306...@mao.cityline.ru>...


>Hello, All!
>
>I am beginner. One man gave me today HDD with QNX installed.
>Purpose - to make me a little familiar with QNX.
>But he forgot to give me description of QNX command-line commands
>
>Can somebody send me quickly (to-morrow I'll call my friend and the next
day
>I'll get the full description) a short list of commands:
>DOS command: QNX-command:
>dir
>cd
>mkdir
>copy
>

>And one more question: what must I do for the prompt looks like
>
>root\usr\free>
>
>and not simple:
>
>#
>

0 new messages