Answer:
No, it is not a linear function. It is an exponential function.
Explanation:
You have a secret that you tell to one person.
Every hour, each of the people that know the secret tells one person.
Let N be the people who know the secret.
Let t be the number of hours since you told the first person.
Now, when only you know the secret, means 1 person.
N(0) = 1
Next hour, there are now 2 people that know the secret.
N(1) = 2
After the next hour, these 2 people will tell 2 more people, so people doubled to 4.
N(2) = 4
One hour later it will be N(3) = 8
We can see the pattern as following.

Therefore, the function is exponential not linear.