Linux Archive

Manually install Oracle Java 8 on Ubuntu

Downloading Oracle Java JDK Using your web browser, go to the Oracle Java SE (Standard Edition) website and decide which version you want to install: JDK: Java Development Kit. Includes a complete JRE plus tools for developing, debugging, and monitoring Java applications. JRE: Java Runtime Environment. For deploying Java applications on servers. Includes tools for JVM monitoring and tools

ubuntu 16.04 Application’s menu bar missing

I did a fresh install of Ubuntu 16.04 LTS and found that menus for many applications do not show on the menu bar except few applications like browsers. There is a bug created at launchpad when Ubuntu 16.04 was still in dev stage. I was just annoyed to use keyboard shortcut for every application I

Goto matching bracket and other keyboard shortcuts in Sublime Text

Programmers love Sublime Text editor as it is that awesome. So I will list down few keyboard shortcuts that will make life easier while writing the code. Jump to matching brackets Shortcut for Windows/Linux: CTRL + M Shortcut for MAC: CTRL + M When you’re writing code, you happen to be inside of loops, conditions,

Major Kernel Update for Ubuntu 14.04 LTS Released and Patches 13 Issues

Few days back, Canonical, the company behind Ubuntu, posted two new security notices on multiple Linux kernel vulnerabilities patched for Ubuntu 12.04 LTS (Precise Pangolin) and Ubuntu 15.10 (Wily Werewolf) operating systems. To learn more information on the subject and know what’s patched in this major kernel update for Ubuntu 14.04 LTS, we recommend reading

Merge pdf files into one ubuntu

Merge pdf files into one ubuntu If you want a tool with a simple GUI, try pdfshuffler. It allows for merging of PDFs as well as rearranging and deleting pages. For batch processing and/or more complicated tasks, pdftk is of course more powerful. I tried using it in my Ubuntu 14.04, doesn’t work for me,

Redirect one port to another port using iptables

You can easily redirect incoming traffic by inserting rules into PREROUTING chain of the nat table. You can set destination port using the REDIRECT target. Following is the procedure: Use the following for redirecting TCP traffic from one SRC_PORT to DEST_PORT: Use the following for redirecting UDP traffic from one SRC_PORT to DEST_PORT: Use the

unoconv – Convert a xlsx (MS Excel) file to csv on command line – Linux

OpenOffice comes with the unoconv program to perform format conversions on the command line. unoconv -f csv filename.xlsx Yeah converting xls(x) file is that simple. If you experience any problem while installing unoconv please follow this thread at SO If you are interested in doing more complex Excel (Which has more than one spread sheet)

Installing JSLint On Ubuntu For Command Line Use

What is JSLint? JSLint is a JavaScript program that looks for problems in JavaScript programs. It is a code quality tool. JSLint takes a JavaScript source and scans it. If it finds a problem, it returns a message describing the problem and an approximate location within the source. The problem is not necessarily a syntax

How to set the root (su) password in Ubuntu ?

You may have noticed that you can’t login to root account on Ubuntu, this is because root doesn’t actually have a password set. Type the following command: sudo passwd The following message will appear: [sudo] password for [username]: [Type your user password and press return] After that another message will appear, the following: Type new

Ubuntu Linux Configure DNS Name Servers IP Address via Terminal

To change existing name server IP address or to configure DNS name server IP address under Ubuntu Linux/Debian Linux, to configure DNS name resolution under Ubuntu Linux, you need to edit /etc/resolv.conf file under Debian/Ubuntu Linux to set Name server IP address that the resolver should query. Up to 3 name server internet IP address