There are many shells which are not coming by default in our
operating system. So, that time we need to install it externally by downloading
rpm package for Linux, deb package for Solaris, do apt-get for Ubuntu etc. But
when we install this shell and somehow it is not working then we need configure
it with following steps:
Step 1:
Install shell’s rpm, deb etc. package into operating system.
Step 2:
Now try to access
that shell or try to switch that shell if it is not working then run following
steps.
Step 3:
Check configuration file /etc/shells and make entry for that
shell like /bin/csh/ or /usr/bin/es or /usr/bin/rc or /bin/rbash etc. If entry
is already present then don’t do anything.
But this step has to execute after installation only.
Step 4:
Run following command after making entry in /etc/shells.
root@hello:~/home/test# add-shell shell-name
add-shell command is used to add shell in kernel. i.e. it
updates the kernel information for this shell if it is not present in kernel’s
database.
Advanced tricks of Sed command Difference between SAN and NAS
Advanced tricks of Sed command Difference between SAN and NAS
0 comments:
Post a Comment