beautypg.com

Using the bash shell – Moxa Technologies UC-7420/7410 User Manual

Page 100

background image

UC-7420/7410 User’s Manual

Windows Tool Chain Introduction

B-6

6. Checkmark Create icon on Desktop to place a Moxa BASH Shell icon on your desktop, and

then click on Finish.

7. Click on OK to close the Installation Complete window.

Using the BASH Shell

A command-line interface is used to develop applications with the tool chain. To access the
command line, you need to launch a BASH shell window.

To open a BASH shell window, choose Start Menu Æ Programs Æ UC Tool Chain Æ Moxa
Bash Shell
, or lick on the desktop Moxa Bash Shell icon.

/

Your group is currently “mkpasswd”. This indicates that
The /etc/passwd (and possibly /etc/group) files should be rebuil
See the man pages for mkpasswd and mkgroup then, for example, ru
mkpasswd –l [-d] > /etc/passwd
mkpasswd –l [-d] > /etc/group
Note that the –d switch is necessary for domain users.

stephen_lin@abc-06d82fcbf1a /

$ ls –al
total 9
drwxr—xr-x 8 stephen_ mkpasswd 0 Jan 10 17:24 .
drwxr—xr-x 8 stephen_ mkpasswd 0 Jan 10 17:24 ..
drwxr—xr-x 2 stephen_ mkpasswd 0 Jan 10 19:48 bin
drwxr—xr-x 7 stephen_ mkpasswd 0 Jan 10 19:24 etc
-rw-r--r-- 1 stephen_ mkpasswd 3262 Jan 10 22:03 insight.ico
drwxr—xr-x 5 stephen_ mkpasswd 0 Jan 10 19:48 lib