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...!!!!!
...
how to see the name of the linux distribution you are running?
In this, I am taking ubuntu in consideration.
So, every linux version has a name assigned to it, for instance,
Ubuntu 14.04 - trusty
Ubuntu 16 - xenial
This command will fetch you the name of the OS you are using
Simple
Enjoy Linux.....
more git commands...!!!
< Back
How to remove any directory locally and push the change.
$ git rm -r name_of_the_directory
$ git commit -m "message"
$ git push origin BranchName
How to undo git add command
Sometimes, we index some file and then we want to undo the operation due to various reasons like the file has been deleted intentionally.
So, for that,
$ git reset -- fileName
Remember,...
How to find the inodes and hard links of any file?
How to find the inodes ?
ls -i file_name
How to find the hard links?
ls -l
...
Jenkins Installation

< Back
Download jenkins war file under LTS Release from here
To start jenkins,
open command prompt
goto the directory where you have downloaded the jenkins.war file.
Run
Java -jar jenkins.war
and you will see the below screen
Open your web browser and goto localhost:8080
You...
How to jump to a specific line while using VI editor
Open any file under vi editor
vi sampleFile.sh">
To jump to any specific line number, for instance, liine number 27
Type
...
< Back
GETTING STARTED
Jenkins is one of the most popular systems currently in use. So, what Jenkins all about?
Jenkins is a Continuous Integration server.
Continuous Integration helps to run tests on a non-developer machine automatically whenever there is a change in code inside the repository.
So, quickly based on automatic testing, we can tell whether the build broke or passed. Due...
Jenkins
TABLE OF CONTENTS
1. Getting Started
2. Download and Install Jenkins
More Coming Up...
3. Setting up Tomcat & Git
4. Jenkins Management
5. Lets Begin Testing
...