| The Essential QNX Commands |
cd -- change directory
cd
|
| cp -- copy
a file or directory cp [options]... source_file target_file
cp stealth.sol backup/stealth.sol.bak
|
| ls
-- lists a directory ls [options] [file ...]
-l -- long list. Shows file attributes and sizes -D -- shows only directories
ls -l stealth*
-rw-rw-r-- 1 stealth user 3953 Dec 03 20:29 stealth.pcm -rw-rw-r-- 1 stealth user 6152 Jul 10 17:24 stealth.rtg -rw-rw-r-- 1 stealth user 6152 Jul 10 17:24 stealth.rtg.bak -rw-rw-r-- 1 stealth user 912 Dec 04 15:17 stealth.sft -rw-rw-r-- 1 stealth user 9644 Aug 13 00:25 stealth.sol -rw-rw-r-- 1 stealth user 2665 Dec 05 21:56 stealth.tma -rwxrwxr-x 1 stealth user 61501 Dec 05 21:57 stealthalgo -rwxrwxr-x 1 stealth user 60594 Dec 05 21:57 stealthclt -rwsrwx--x 1 root root 55127 Dec 04 15:17 stealthcol -rwxrwxr-x 1 stealth user 4508 Dec 05 21:55 stealthcol_wd -rwxrwxr-x 1 stealth user 66102 Dec 04 15:17 stealthdisp -rwxrwxr-x 1 stealth user 4157 Aug 29 21:17 stealthdoit -rwsrwx--x 1 root root 57202 Dec 05 21:56 stealthsrvr |
man -- manual page
man ls see also: use |
| mkdir
-- makes a directory mkdir [-p] [-m mode] dir...
mkdir test
|
| mv -- move
or rename a file or directory
mv [options] source_file target_file
mv stealth.sol stealth.sol.bak
|
ps
-- show process status
ps
|
pwd --
print working directory
example:
|
rm
-- remove files or directories
-f -- force removal (no prompting) -r -- remove directory and its contents examples:
|
sin --
system info
sin
|
use -- gives help
on a QNX command
use ls
|
| Back to the data acquisition table of contents |