.bash_profile – POFTUT

How To Set Environment Variables For Linux, Windows, BSD and MacOSX

Environment variables are very useful for setting some data in the operationg system environment. They are like key-value pairs where we can set a key a specific value which can be used by all applications in the current operating system. Environment variables are used to set library path, Java path, Java version, current username, current connection … Read more

How To Compare String In Bash Linux?

as We generally use bash in order to execute commands. But as bash is a programming environment we have other programming related features. We can compare strings where these strings are output or error of some commands. In this tutorial we will look different use cases for string comparison in Bash Linux. Compare with Equality … Read more

Linux Bashrc File and Usage Examples

[rps-include post=6835] Linux and related distributions like Ubuntu, Debian, CentOS, Fedora, RedHat, … provides shell to manage systems. By default bash shell is used by the most of the distributions. Every shell in Linux have some configuration, environment variables, etc. We generally need to change them after opening a new shell. .bashrc is used to set … Read more

How To Create User Creation Defaults With Skel In Linux?

We want to create system default for user creation and addition. System defaults mean what will be default values for the user creation like home path, user id etc. skel Directory /etc/skel is the directory where files will be copied to the new user directory from here. If we look detailed we will see that there … Read more