Monday, July 26, 2021

5 Example of kill command in UNIX and Linux

Kill command in UNIX and Linux is normally used to kill a suspended or hanging process or process group. Though kill is mainly associated with kill operation its merely a signal transporter and can send specified signals to specified processes in UNIX or UNIX like systems e.g. Linux, Solaris, or FreeBSD. Like in windows when we see a particular process hung the system we go to the task manager find the process and kill it, similarly, in UNIX and Linux we first find the process ID (PID) of the offending process and then kill it.

5 Articles to Learn about Shellshock Bash Bug

The year of 2014 is looking like a year of biggest software bug and vulnerabilities. Earlier this year, internet was bleeding by Heartbleed vulnerability and now it's shocked by ShellShock bug. To me it looks like even bigger than Heartbleed, just because it's a bug in Bash Shell, our own bash shell, most popular among all UNIX shells like C and K. Given most of the servers in Investment banks, Insurance companies, Clouds and e-commerce domain are Linux Servers with bash being most used shell, impact is quite large. I am sure people with Microsoft stack is smiling somewhere :), but wait, read the full article. First details of Shellshock bug emerged Wednesday last week, since then it has gone viral, both online and offline.

How to find IP Address from hostname in Windows Linux and Unix - Example

IP Address from hostname in Windows and Linux
How many times in a day do you have a hostname and you want to know the IP address? Hostname to IP address and IP address to hostname conversion is one of the frequent things which we need to do for many things when dealing with networking commands in Unix. For one command we need an IP address for others we need a hostname even from bash script sometimes we require a hostname and sometimes we look for an IP address.

10 Examples of tar command in UNIX and Linux

tar command in UNIX or Linux is one of the important commands which provides archiving functionality in UNIX. we can use the UNIX tar command to create compressed or uncompressed archive files by using either gzip or bzip2. In this UNIX tar command tutorial we will see examples of UNIX tar command related to basic archiving task e.g. How to create tar archive in Unix and Linux, How to extract files from tar archive in UNIX, How to view contents of tar file in Unix and Linux or how to update an existing tar file in Unix.

Sunday, July 25, 2021

List of special bash parameter used in Unix or Linux script - Example

Meaning of bash parameter used in Unix script
Many of us use a bash script for doing housekeeping and other stuff but occasionally and not much aware of special bash parameters. When I was new to the bash shell and Linux and looking for some already written bash script I used to get baffled with special bash symbols like $@, $_, $1, etc. I did know that they are bash parameter and has special meaning but I don't have all meanings of special bash parameter on top of my head and I always go to Google and search endlessly for those special bash parameter, sometimes I got and found the meaning of those special bash script parameters quickly but sometimes I need to spend some time to get what I am actually looking for, so I thought to document meanings and expansion of those special bash parameters or bash script parameters.

2 Ways to find Tomcat and Java Version in Linux and Windows - Example

You can find Tomcat and java version running on Linux either by executing the org.apache.catalina.util.ServerInfo class from catalina.jar or by executing version.sh shell script. The first solution will work on any operating system including Windows and UNIX because it's using a Java class from a catalina.jar file, which is platform-independent. Though, if you don't know how to run a class from the JAR file, you can check the steps here. Alternatively, you also have a version.bat file inside tomcat/bin directory to check the version of Tomcat in Windows.

Friday, July 23, 2021

How to read a text file using Scanner in Java? Example Tutorial

As I told you before that there are multiple ways to read a file in Java e.g. FileReader, BufferedReader, and FileInputStream. You chose the Reader or InputStream depending upon whether you are reading text data or binary data, for example, the BufferedReader class is mostly used to read a text file in Java. The Scanner class is also another way to read a text file in java. Even though Scanner is more popular as a utility to read user input from the command prompt, you will be glad to know that you can also read a file using Scanner. 

Thursday, July 22, 2021

4 Free OCAJP 7 and OCPJP7 Mock Exams - Online Practice Test (1Z0-803 and 1Z0-804)

Hello guys, today I am going to share a list of free OCAJP7 and OCPJP7 mock exams and online practice tests. If you are preparing for Java SE 7 Programmer 1 or 2 certification or upgrading your existing OCJP 6 exam then this will help you to gauge your progress. As per my experience, the three keys to success in any Java certification is a selection of good books, writing small Java programs to understand concepts, and practicing mock exams. You can see that mock exams are very important to do well on the real exam. They give you much-needed practice as well as some idea about what kind of questions you can expect on real exams.

Tuesday, July 13, 2021

Tibco Tutorials for Beginner to Learn RV and EMS

This Tibco Tutorial is a collection of all my previous Tibco rendezvous and Tibco EMS tutorials. I have written this compilation post to provide all Tibco tutorials in one place for easy navigation and access. Anyone who is started working on Tibco on any investment bank or brokerage house for their electronic trading systems or algorithmic trading system can benefit from these Tibco tutorials because these are based on my experience in stock trading systems which uses Tibco Rendezvous for all their Front-End backend communication. Tibco Certified messaging is used by the Electronic trading system or Order Management system to receive orders and Send Execution in FIX Protocol.

Monday, July 12, 2021

Difference between FIX 4.2 vs FIX 4.4 Protocol? Answer

FIX 4.2 vs FIX 4.4
FIX protocol has evolved over time; it’s now more than a decade it’s started by Fidelity and Solomon Brothers. FIX connectivity is the most popular connectivity solution that exists for trading whether it's equities, futures, options or fixed income or even foreign exchange (FX). FIX protocol has dominated the market and become a standard solution for any market or broker which is trying to develop connectivity with the market within a short period of time because of the complexity of native exchange API and lack of support FIX protocol comes in handy.

Sunday, July 11, 2021

Basics of FIX protocol and FIX Engine - Examples

FIX protocol is the Industry standard protocol for electronic trading, with the evolution with computer technology Trading also getting Electronic and now most of the exchanges in the world are fully electronic and the concept of trading floor is taken over by computers.When I was new to FIX protocol I have searched the net to find a good FIX protocol tutorial but not much is available so I am trying to write my own experience in the form of short  FIX protocol tutorial.

Top 5 FIX Protocol Data Dictionaries and Online FIX References

While you work on FIX Protocol you need a handy FIX Data dictionaries or what we called fixionary in order to refer for exact details related to the particular message type, particular fix tag and what does a particular value of tag means. Without FIX data dictionary or fix wiki it’s very hard to work especially when you are dealing with different fix protocol versions like FIX 4.0, FIX 4.1, FIX 4.2 and FIX 4.4. In this FIX Protocol article, we will explore some of the free available fixionaries or fix protocol reference guides. FIX data dictionary is a must-have development tool for FIX protocol developers.

Friday, May 15, 2020

10 Reasons to become Oracle Certified Master - Java EE 6 Enterprise Architect - OCMJEA 6 (1Z0-807)

The Oracle Certified Master - Java EE 6 Enterprise Architect, which is a combination of three exams, 1Z0-807, 1Z0-865 and 866 is one of the toughest, hardest, and tiring Java certification you will ever give, but at the same time, it is also one of the most prestigious Java certification available in the Market. Large enterprise organizations (for example, Wall Street firms) with critical applications and environments are constantly in need of skilled architects. These companies are looking for well-trained and highly experienced specialists to architect their systems, define requirements, and oversee execution.

Monday, November 20, 2017

XPath Tutorials Examples for Beginners and Java Developers

XPath Tutorials for Beginners and Java Developers
This XPath Tutorial is collection of my Xpath Notes which I prepared recently when I was working on XML and XPATH. Though I was familiar with XML but not with Xpath and thought to note down bullet points about Xpath to get myself up and running. It’s not quite detailed but gives a nice overview on what is Xpath and how can you use Xpath in Java. I have not edited order of notes and presented it as it is in this XPath Tutorial. It also contains some example of xpath expression to give you an idea of how they look like but its analogous to SQL which is used to retrieve data from tables.

Wednesday, November 8, 2017

Result of Recent Google PageRank Update in November 2011

Just come to know about recent Google PR update which is due today 8th November 2011 and thought about this post to share result of recent Google Page Rank update based on my experience.
Everybody in web is talking about this Google PR update which is coming after recent Google Panda or Caffeine update, which has affected many sites ranking. I think Google PR update has been done or under work because I can see PR updates from zero to two on some of my articles. I can also see that this time Google is more restrict on awarding page rank and the one which got PR 3 on last Google PR update on Augst 2011 is getting PR 2 this time. Google has also adjusted PR of existing articles along with new articles.