csh – POFTUT

Linux /bin/bash Shell and Script Tutorial

Linux Bash shell is the most popular shell. /bin/bash is the path and executable of the Bash shell. /bin/bash is a binary that is used in different ways to run and execute commands and scripts. Script File Interpreter #!/bin/bash In Linux and opensource world script files are very important. There are different types of scripting languages … Read more

setenv Command Tutorial To Add, Delete and Change Environment Variables In Linux

Linux and Unix ecosystem mainly used command line based. While working with command line and C Shell we generally need some values to use with commands. Shells provide environment variables for this. This environment variables can be managed with setenv command like add, change and remove. Syntax Syntax of setenv command is very simple we just need … Read more

What is Dash / Shell / sh and How To Use It?

Linux provides a lot of different type of shells. There are shells like bash, ksh, csh. But what non of them exist in a Linux or Unix system. The default shell for Linux and Unix systems is sh . This shell is called also dash because of its maintainers those works for Debian. We will call … Read more

How To Get Shell Type and Version In Linux?

While using remote sessions we may need to know the type and version of the remote shell. Bash is popular but there may be different shells like sh, csh, ksh etc. Using $SHELL Variable Shells provide environment variables to give information about the shell and the environment. $SHELLenvironment variable can be used to get current … Read more