Category: Linux

0

How to create a permanent “alias”?

Follow three simple steps to create alias for your command line. cd ls -la vi .bashrc Append your favorite alias at the bottom of the file. Below are some of my favorite aliases. #...

0

[: !=: unary operator expected

In bash, always use the double bracket conditional command [[ … ]] For example, #!/bin/bash sex=male if [[ $sex == ‘male’ ]];then echo “sex is male.” elif [[ $sex == ‘female’ ]];then echo “sex...

1

Setup remote selenium driver

Do you want your Jenkins plan to run your functional automation tests to run against remote selenium host? Do you need help in setting up remote selenium host? Then this tutorial will teach you...

0

Install Java on Ubuntu

The easiest way to install Oracle Java 8 is to run the following commands from the terminal. $ sudo add-apt-repository ppa:webupd8team/java $ sudo apt-get update $ sudo apt-get install oracle-java8-installer Verify the installed Java...

0

Linux set environment variables

I will show you how to update your PATH variable on Linux machine so it can always find the node and npm. export NPM_HOME=/FOO/npm/node-v0.12.5-linux-x64/bin export PATH=$PATH:$NPM_HOME You do not need to update your PATH...