Operating instructions
M300USERSGUIDE SEA
GENERALINFORMATION
49
FINDFILES
There are times when it’s necessary to look for a certain group of files or a particular file name. The
utility we use for this is called ‘find’. For more information do use find or check the Helpviewer
documentation for the find utility. Here are some simple and common examples of how to use the
find.
1. To search for all ‘wnd.300’ files from the root, use cd / and then find -name ‘wnd.300’
2. To look for a specific file, for example ‘rocky.tgt’, use cd / and then find -name
‘rocky.tgt’
3. To search for all files in the current directory, excluding all ‘*.sea’ files, use find ! -name
‘*.sea’ -type f
At times we want to search for a particular string/text in a file. For example, we could search all
‘acq.300’ files for the word ‘Analog0’. Here are the commands for this.
cd /
find -name ‘acq.300’ | xargs grep Analog0
STORINGYOURDATAATTHEFINALDESTINATION,SEPARATEFROMTHEM300
Once you create your data files you will surely want to take them to another system. There are several
ways this can be accomplished.
Note: Usermustbeloggedinassuperusertomountanydrivesintheqnxoperatingsystem.
USINGFTP(FILETRANSFERPROTOCOL)
You can login to the M300 DAS over the Network using FTP and transfer any files to a remote
client. If you wish to run FTP you must start ‘netstart’ first. This is a script located in the ‘/etc’
directory. You need to edit this script and enter the correct IP address for your system. Then run
‘netstart’ again to restart the TCP/IP driver with the new IP address.
If you are having problems connecting to other systems use the ‘ping’ utility. Please check the TCP/
IP manual for this (See “Getting Help for QNX 4 and Photon” on page 31).
USINGTHEUSBDRIVES
There are two different ways you can access the USB drives. Using the native QNX 4 file system or
the DOS/Window FAT. You would use the QNX 4 file system formatted drives to back and store
files and projects from the M300 system. The FAT formatted drives would only be used to transfer
files to/from DOS/Windows systems. Here are some basics to help you get started with this.
Using the USB drive in the QNX File system.
1. Insert USB drive. These steps assume we are only using one drive and it’s the only one mounted.