JavaScriptHow to check if string contains substring in JavaScriptBy RahulNovember 28, 2014The JavaScript indexOf() method search for the substring in string and returns the position of the first occurrence of a…
Bash ShellHow to Assign Password to User in a Shell ScriptBy RahulNovember 27, 2014Command: echo <password> | passwd –stdin <username> Example: Use the following command to change password of user jack in a…
Bash ShellHow to Create Infinite while Loop in Bash ScriptBy RahulNovember 27, 2014Command: while true;do echo “Press CTRL+C to Exit”; done Example 1: Some times we are required to execute some commands…
PHPHow To Install Phalcon PHP Framework on CentOS / RedHatBy RahulNovember 25, 2014Phalcon is a high performance Php framework with MVC support. Its is very useful framework for developing dynamic applications rapidly.…
Bash ShellHow To Create and Manage Symbolic Links in LinuxBy RahulNovember 25, 2014Symbolic links, also known as symlinks, are special files that allow you to create a shortcut to another file or…
Bash ShellIs Your Linux System 64-bit or 32-bit? 5 Ways to Find OutBy RahulNovember 23, 2014Determining the bit architecture of your Linux system is an important task, as it helps you ensure compatibility with software…
Bash ShellHow to Input Password in Shell Script as Hidden CharactersBy RahulNovember 20, 2014Command: read -s -p “Enter Password: ” pswd How to Use:- If you want to take input of password in…
Bash ShellHow to change Background Color of Text in Linux ShellBy RahulNovember 15, 2014Command: echo -e “\\e[0;41mBackground in Red Color\\e[0m” The Above commands are using to set background color of output on Linux…
Bash ShellHow to change output Text color in Linux ShellBy RahulNovember 15, 2014# echo -e “e[0;31mText in Red Colore[0m” The Above commands are showing to set foreground ( Text ) color of…
Bash ShellHow to Use Newline character ( \n ) in Bash ShellBy RahulNovember 14, 2014Questions – How can I print a newline as \n in bash shell? How to use \n in a shell…