Posts

Showing posts with the label Redhat

Important Shell Scripting Questions with Answers

What is $*? Its mainly used for showing up all params. This show all parameter values passed in shell script What does $# stand for? # will return the number of parameters that are passed as the command-line arguments. What does $? Return? $? will return exit status of command .0 if command gets successfully executed ,non-zero if command failed. What are Different types of shells? sh : the oldest shell csh : C shell ksh : Korn Shell bash : bourne again shell  How do you read arguments in a shell program – $1, $2? Shell script accepts parameters in following format… $1 would be the first command line argument, $2 the second, and so on $0 is the name of the script or function If your script has more than 9 params then accept in following way… ${12} : 12th param ${18} : 18th param What are the different kinds of loops available in shell script ? for, if, while, case What is the difference between a shell variable that is exported and the one that is not exported?...

Red Hat Linux 6 High Definition (HD) Wallpapers

Image
RedHat Linux 6 Black HD RedHat Linux 6 Red HD Redhat Linux 6 Purple HD

ORACLE Database 11g Release 2 Installation Steps on Redhat Enterprise Linux 5

Image
Step 1. Login from Root user on RedHat Linux System Step 2. To create the oracle account and groups, execute the following commands on the terminal: # groupadd dba # group of users to be granted SYSDBA system privilege # groupadd oinstall # group owner of Oracle files # useradd -g oinstall -G dba oracle # passwd oracle Step 3 . Setting System parameters i. Edit the /etc/sysctl.conf and add following lines: kernel.shmall = 4294967295 kernel.shmmax = 268435456 kernel.shmmni = 4096 kernel.sem = 250 32000 100 128 fs.file-max = 6553600 net.ipv4.ip_local_port_range = 1024 65000 net.core.rmem_default = 4194304 net.core.rmem_max = 4194304 net.core.wmem_default = 262144 net.core.wmem_max = 262144 You need reboot system or execute "sysctl -p" command to apply above settings ii. Edit the /etc/pam.d/log...

RedHat 5 Installation Screen Shots

Image