Skip to main content

Posts

Showing posts from September, 2014

21 Useful Linux Commands for System Administrators

In this article we are going to review some of the useful and frequently used Linux or Unix commands for Linux System Administrators that are used in their daily life. This is not a complete but it’s a compact list of commands to refer when needed. Let us start one by one how we can use those commands with examples. 1. Uptime Command In Linux uptime command shows since how long your system is running and the number of users are currently logged in and also displays load average for 1,5 and 15 minutes intervals. # uptime 08:16:26 up 22 min, 1 user, load average: 0.00, 0.03, 0.22 Check Uptime Version Uptime command don’t have other options other than uptime and version . It gives information only in hours:mins if it less than 1 day. [tecmint@tecmint ~]$ uptime -V procps version 3.2.8 2. W Command It will displays users currently logged in and their process along-with shows load averages . also shows the login name ,

Introduction to Probability

Introduction to Probability Probabilities are associated with experiments where the outcome is not known in advance or cannot be predicted. For example, if you toss a coin, will you obtain a head or tail? If you roll a die will obtain 1, 2, 3, 4, 5 or 6? Probability measures and quantifies "how likely" an event, related to these types of experiment, will happen. The value of a probability is a number between 0 and 1 inclusive. An event that cannot occur has a probability (of happening) equal to 0 and the probability of an event that is certain to occur has a probability equal to 1.(see probability scale below). In order to quantify probabilities, we need to define the  sample space  of an experiment and the  events  that may be associated with that experiment. Sample Space and Events The  sample space  is the set of all possible outcomes in an experiment. Example 1:  If a die is rolled, the sample space S is given by S = {1,2,3,4,5,6} Example 2:  If two coins