Tuesday, December 05, 2006

linux fast commands

how to force a specific ethernet device for RedHat Linux kickstart installation If you are using Kickstart to install RedHat Linux and you have several ethernet interfaces, you can force the use a particular interface using the "ksdevice" option: boot: linux ks=http:/172.20.25.136/LINUX/web.ks ksdevice=eth0 Example linux ks=http:/172.20.25.136/LINUX/web.ks ksdevice=eth0 how to find the file where all the filesystem s are in linux The file which lists all the filesystems in linux is called /etc/fstab Example / etc/fstab how to get NFS on AIX to work with Linux The default AIX and Linux NFS settings are incompatible. Linux uses a reserved port below 1024 to mount NFS filesystems. AIX uses ports above 1024. The following AIX command will remedy the situation. # /usr/sbin/nfso -o nfs_use_reserved_ports=1 Example /usr/sbin/nfso -o nfs_use_reserved_ports=1 proc/cpuinfo - to see cpu information in linux To see cpu information in linux: # cat /proc/cpuinfo Example cat /proc/cpuinfo how to find the NFS share definitions in linux The NFS share definitions in linux can be found in the file /etc/exports. Example /etc/exports kerneld - allows kernel modules to be loaded automatically when they are needed in linux

No comments: