Few linux QAs

How to use VNC or your laptop as Console  while loading Linux
boot:linux vnc vncpassword=password for Redhat
boot:install vnc=1 vncpassword=password for SUSE LINUX

How to create a filesystem in Linux
mkreiserfs /dev/sda1 to create a reiser filesystems of SUSE
mke2fs -j /dev/sda1 to create ext3 filesystems

Where is the WWNN and WWPN displayed in RHEL 4 and SLES9?
Description:
An Emulex HBA is installed into RHEL 4 or SLES 9. The OS finds and installs a driver.
How do I discover the WWNN and WWPN?

Resolution: 1 of 2
Use the 'cd' command to change directory to this location:

/sys/class/scsi_host

Use the 'ls' command to list the host adapter numbers. Use 'cd' to enter each directory
and use 'ls -l' to list the contents. Any with entries that list lpfc are Emulex HBAs.

Use 'cd' to enter the appropriate directories and use the following commands to list
information for the hardware and driver:

WWPN:
cat port_name

WWNN
cat node_name

NOTE: SLES 9 may be running driver v 2.10g. If no Emulex HBA are found in /sys/class/scsi_host,
cd /proc/scsi/lpfc. If this exists, cat the adapter numbers found there.

Solutions 2

For RHEL , cat lpfc_drvr_info, cat hdw,

For SuSE, /sys/class/scsi_host, /proc/scsi/lpfc, SuSE Enterprise Linux 9, SLES 9, Novell

How to Mount a CD-ROM (Linux)
Login as root or root authority
mount /mnt/cdrom
or
mount -o exec /mnt/cdrom

If your CD-ROM was not automatically mounted, enter:
mount -t iso9660 -o ro /dev/cdrom /mnt/cdrom

How to mount a ISO image

mount -o loop pathToIso mountPoint

Some great Shell scripts for Linux, HP-UX, AIX, Solaris. Check this website.

http://shell-fu.org/index.php

Check thes link for some great Linux Tips

http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html

http://www.cyberciti.biz/tips/how-do-i-find-out-linux-cpu-utilization.html