Recursion vs Iteration – Difference between Recursion and Iteration

Recursion vs Iteration. What’s the difference between recursion and iteration.

Recursion and Iteration both are two different programming approaches. For some problems recursion is best suited and in some other cases iterative way of programming is good.

In programming, repeated set of instructions can be handled either by using recursive or iterative approach in our code. So which approach we choose and why? Let’s talk about the difference between iteration and recursion.

Chmod Command – How to Change File, Directory Permissions in Linux

How to change file and directory permissions in linux using chmod command.

In Linux operating system everything is a file. If it is not a file then it’s a process so everything has default permission assigned. File permission defines which file has read,write,execute permission and for which user group.

In this article you will learn how file permissions work and how you change file permissions using chmod command.