Command SNAME=$(basename “$(test -L “$0” && readlink “$0” || echo “$0″)”) While running a bash script using Linux terminal the…
Browsing: Programming
Command: md5sum myfile.php > myfile.php.md5 Above command will generate md5 checksum of file myfile.php and store in file myfile.php.md5. myfile.php.md5…
We can easily get values passed in url query string using JavaScript or jQuery. Here is an simple examples of…
This tutorial will help you to redirect a webpage to another webpage using JavaScript. Here are 3 examples of redirecting…
The JavaScript indexOf() method search for the substring in string and returns the position of the first occurrence of a…
Command: echo <password> | passwd –stdin <username> Example: Use the following command to change password of user jack in a…
Command: while true;do echo “Press CTRL+C to Exit”; done Example 1: Some times we are required to execute some commands…
Phalcon is a high performance Php framework with MVC support. Its is very useful framework for developing dynamic applications rapidly.…
Symbolic links, also known as symlinks, are special files that allow you to create a shortcut to another file or…
Determining the bit architecture of your Linux system is an important task, as it helps you ensure compatibility with software…