beautypg.com

Gasboy SiteOmat Maintenance Manual User Manual

Page 227

background image

223

SiteOmat Setup and Maintenance Manual – MDE 4817G

8-6.12. ls (List directory)

Usage:

$ ls

$ ls -lrth # more info, sorted by date

8-6.13. history (Show last typed commands)

Usage:

$ history

8-6.14. telnet (Open connection to IP port)

Usage:

$ telnet 192.168.81.2 6000

Use to check if a server is listening on the port - check 8port availability.

8-6.15. script

The script command records the user session to a log file.

The script command is especially useful when doing something like an installation or upgrade,

where capturing the output is desirable for later troubleshooting.

To start recording the session to a log file, enter the script command along with the name of the log

file, e.g.

$ script install_6_0_023.log

Enter any linux commands whose output should be recorded in the log file.
To close the log file opened by script for recording the session, enter:

$ exit

8-6.16. Useful Linux Files

• /var/log - System logs - show various system error including boot messages

• /var/log/messages - Has up to 5 files: messages, message.1, messages.2, messages.3,

messages.4, Each 7 days - rotated 1 month

• /etc/orpak-release -distro version info

• /etc/ orcuversion - orcu BSP version number

• /etc/orcuserial - orcu production serial number

8-7. SQLITE HANDLING

As mention above the FCC\BOS use the SQLite database engine as his DB.