What does sourcing a file means in Linux?

Sourcing a file means to execute everything within a file.
Important point about Sourcing is that, it will execute the file within the current process/shell rather creating a new child process.


Sourcing can be done in two ways

1) using source keyword
   




2)Using dot
   







Enjoy Linux...!!!!







How to remove dpkg lock

Sometimes, when we install any package, this following error comes

"dpkg status database is locked"


You can remove this lock simply by restarting but
hey common,
give me a break....
restart should be the last solution to every problem.
So,  just do this






Voila...error solved...!!!!!