The latest version of python is shipped with pip. But, if you are using older version of python 2(<2.7.9) or python 3(<3.4) and still need pip on windows please follow the instruction below.
If pip is not installed or the path is not set correctly you will get an error like below while invoking it in windows command prompt.
pip install sklearn
'pip' is not recognized as an internal or external command,
operable program or batch file.
Here are the steps to get pip in your windows box.
Continue reading “Solved : How to simply install python pip on windows?”
Identifying the files or directories which are hogging space in your windows machine can be very difficult specially if you have hidden files or they are in nested directories.
If you have worked on Linux you will know it has a very useful command du -sh. When i work on windows I really miss the Linux command which is very handy.
Thankfully you can find a utility at sysinternals on microsoft site which do the same job as du command in linux.
Continue reading “Solved : How to check disk usage in windows like Linux”
Earlier many system admins were using telnet to check if a port is open on remote machine. But, because of security concerns telnet is now not recommended to be installed on most linux boxes.
But hey we still need to check the remote port. This is part of normal troubleshooting in a linux admin’s life.
So, instead of using telnet you can use
nc. netcat or nc is a simple tool which is generally installed by default in linux distributions or you can install it with instructions below.
Continue reading “Solved : Check without telnet if port is open on remote host – Linux”
Q What is Shell?
Ans: Shell is a command interpreter, which interprets the command which the user gives to the kernel. It can also be defined as an interface between a user and operating system.
Q How to debug the problems encountered in shell script/program?
Continue reading “Real shell scripting interview questions”
Many people have asked us how to become a DevOps engineer so in this post we will show you the skills and technologies which can get you there.
Before we start we should know what is “DevOps”. As you can see the word is combination of “Developer” and “Operations”. So a DevOps engineer is suppose to be a bridge between the development and operations processes.
Let’s see which skills do you need to become a DevOps engineer. In this post we will also discuss how you can acquire these skills for free. We have also mentioned some advanced paid courses which can help you acquire these skills quickly.
Continue reading “Must have skills for DevOps Engineer and Free methods to learn them”
In this post we will see how to start or stop Jenkins on different Linux distributions. Also we will see how to check the status of Jenkins service and identify the port on which it is running or listening.
Continue reading “Solved: How to start or stop Jenkins in Linux and check it’s port number”
In this post we will see how to change the disk label from EFI to SMI in a Solaris server.
Before you decide to change the disk label ensure that the disk doesn’t have any important data. If needed take backup of the disk. As during label change all the data will be removed from the disk.
Continue reading “Solved: How to change from EFI to SMI label and vice-versa”
Once you have installed python 3.6 as described in the
last post you can create virtual environment to work with it.
First let’s install the package of virtual environment for python 3.
Continue reading “Solved: Create virtual environment with python 3 in linux”
In this post we will show you how to install python 3 in a Linux box. We have Centos 7 installed in our server.
Check installed python version
Most of the Linux versions by default have python installed. So let’s check the current version.
[ec2-user@cloudvedas ~]$ python --version
As we can see from the above output, currently we have Python 2 installed and we need Python 3 so let’s install it.
Continue reading “Solved: Install Python 3 in Linux and set it as default”
In this post we will show you how you can manage the spam comments on your website without installing a plugin or tweaking the code.
All of us who manage a website or blog knows what a menace are spam comments. These spam can easily ruin the experience of your visitors and may also degrade your ranking in search engines.
Continue reading “Solved: Block spam in WordPress for free without plugin or coding”