Wednesday, July 31, 2013

VI Editor                                                                                                   Useradd Command in Linux

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
Posted by Machindra Dharmadhikari On 7/31/2013 11:41:00 PM No comments


Post a Comment

  • RSS
  • Delicious
  • Digg
  • Facebook
  • Twitter
  • Linkedin
  • Youtube

    Chitika Ads 2



    Enter your email address:

    Delivered by FeedBurner