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
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....)
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
: 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.
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:
>
>#
>