The document root, also known as the web root, is the topmost directory in your web server’s file structure where…
Browsing: Programming
Bash scripts are simple text files that contain a collection of commands. Bash scripts can help with administrative tasks, task…
Bash is a popular shell used on Linux and macOS systems. It is a powerful tool for automating repetitive tasks…
Warning – Java 7 is officially deprecated by Oracle team. It is no more available for download on the public…
Question – How to remove extra spaces from a string using JavaScript? A space (” “) character is used to…
We can use an internal field separator (IFS) variable to parse an array. Let’s use an example script, where first…
Command SNAME=$(basename “$(test -L “$0” && readlink “$0” || echo “$0″)”) While running a bash script using Linux terminal the…
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…