Category: Linux

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...

0

su: Authentication Failure

Instead of su use sudo to become root : >sudo -i root account is disabled by default in Ubuntu, so there is no root password associated with it. Use the exit command to logout...