Xming X Server for Windows is required to open display from your remote *nix host. Xming URL: https://sourceforge.net/projects/xming/ X11 packages are required on remote machine Following settings may or may not be required on the remote machine to X11 to work...
Following shell script will get the schema information from Hive using WebHCat server. #!/bin/sh # fetch_webhcat.sh, v0.1, 2016-04-00, [email protected] # Pre-requisites: jq, curl, python (json.tool) _WEBHCAT_SERVER=”server:50111″ _USER_NAME=”JohnDoe” while [[ $# > 1 ]] do key=”$1″ case $key in -u|–user)...
Method 1: Without using getopts while [[ $# > 1 ]] do key=”$1″ case $key in -u|–user) _USER=”$2″ shift # past argument ;; -s|–server) _SERVER=”$2″ shift # past argument ;; *) # unknown option printf “Usage: %s: [-s <server> -u...
Using the settings below will add colors to vi editor, change the tabstops to 4 and adds more niceness. This is how my .vimrc looks like. filetype plugin indent on ” show existing tab with 4 spaces width set number...
Ever wanted a local directory to host contents over http? Here is how you do it, $ python -mSimpleHTTPServer Above command will host the contents of the current directory over http port 8000. If you want to use a custom...
Confused why I have that title? VSCode or any any other editor? I am not sure myself. VSCode allows us to autosave files, perhaps that is the time I am writing this article. Am I? Enough blabbering.. Now, we all...
Source: http://modperlbook.org/html/3-9-1-Installing-Perl-Modules-into-a-Nonstandard-Directory.html Specifying PREFIX=/home/user is the only part of the installation process that is different from usual. Note that if you don’t like how Makefile.PL chooses the rest of the directories, or if you are using an older version of it...
Original article Author updates Original article Source: http://blog.sanctum.geek.nz/compiling-in-home/ If you don’t have root access on a particular Linux system that you use, or if you don’t want to install anything to the system directories and potentially interfere with others’ work...
Are you seeing issues consuming files on linux coming from different systems generated on windows environment? Lets take a stab, Step 1 Check what is going on in the file $ od -c bad_file.txt Step 2 Are you seeing line separator as...
Source: http://askubuntu.com/questions/44542/what-is-umask-and-how-does-it-work To calculate for the umask, unlike file system permissions. The octal umasks are calculated via the bitwise AND of the unary complement of the argument using bitwise NOT. The octal notations are as follows: Octal value : Permission 0...