none
request_it_block2022
how to add answer to grepper
// how to find out which shell is running.
ps -p $$ – Display your current shell name reliably
echo "$SHELL" – Print the shell for the current user but not necessarily the shell that is running at the movement.
echo $0 – Another reliable and simple method to get the current shell interpreter name on Linux or Unix-like systems.
readlink /proc/$$/exe – Another option to get the current shell name reliably on Linux operating systems.
cat /etc/shells – List pathnames of valid login shells currently installed
grep "^$USER" /etc/passwd – Print the default shell name. The default shell runs when you open a terminal window.
chsh -s /bin/ksh – Change the shell used from /bin/bash (default) to /bin/ksh for your account
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us