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...!!!!!
"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...!!!
$ 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, -- is the most important thing
it will not work, if you will just do
$ git reset fileName
$ 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, -- is the most important thing
it will not work, if you will just do
$ git reset fileName
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
ls -i file_name
How to find the hard links?
ls -l
How to jump to a specific line while using VI editor
Open any file under vi editor
To jump to any specific line number, for instance, liine number 27
Type
To jump to any specific line number, for instance, liine number 27
Type
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 to fast feedback, we can analyse the console inside Jenkins and check where was the error.
- If we run these tests occasionally, then there are chances of huge changes in code and so very tough to find the bug and revert back.
- Based on successful testing, Jenkins deploys the new built, making the release very smooth and simple.
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