How To Ideas | How To Articles | How To Tutorials


List/Grid Linux/Unix Subscribe RSS feed of category Linux/Unix

How to install Wine in Ubuntu

Wine is free and open source application for Unix / Linux based Operating Systems which allows us to run applications written for Microsoft Windows. WINE is an acronym for WINdows Emulator. WINE also provides a software library, Winelib, which developers can use to compile Windows applications to port them to Unix / Linux based systems. In this tutorial, I will show you how to install Wine in Ubuntu using both… Read more »

How to install Eclipse in Linux

Eclipse is a an IDE i.e Integrated Development Environment tool mostly used by developers for JAVA development. This tool support development in a number of languages like C, C++, COBOL, Java, Perl, PHP, Python, Ruby, etc. and also supports plugins which can let you develop projects in a number of other languages as well. Eclipse SDK is free and open source software released under the terms of the Eclipse Public License…. Read more »

How to install or update Firefox in Linux using Terminal

In this tutorial, I will show you how can you install or update latest version of Firefox in Linux using Terminal commands. Method explained is tested on Ubuntu 11.10 to install Firefox 10.0 and it probably work on all the Linux based Operating Systems. If you already have older version of Firefox installed in your system, then it should not be running while getting this update. If you are not… Read more »

How to create a Terminal Clock using Shell Script

date command displays current date and time to the Terminal and we can use this command to recursively display time every second on Terminal which will look like a Terminal Clock. In this tutorial, I will show you how to create a Shell Script which will make the terminal to show system time every second like a clock. Default output of date command prints result in the format shown in… Read more »

How to find Average of Numbers provided through Command Line using Shell Script

In this tutorial, I will show you how to use Shell Script to find Average of any number of arguments (numbers) provided through Command Line. The script will find show an error if no argument is provided, otherwise it will find Average of numbers provided and prints its output on the Terminal. Algorithm: Check if the numbers of arguments supplied are equal to 0 or not. If yes, print error message… Read more »

How to check for leap year in Shell Script

In this tutorial, I will show you a simple shell script to check whether a given number provided through command line denotes a leap year or not using shell script. Algorithm is fairly simple Check whether the number of command line arguments are equal to 1 or not If not equal to 1, then print an error message and exit, otherwise proceed to next step. Store the value of the… Read more »

The who command – Terminal

who is command or tool in Unix/Linux-based operating systems which enables the user to know who is currently logged in their system i.e who is on the System. If no option is supplied to this command, it will display the names of users currently logged in the system, along with their terminal, the time of login and the host from which they have logged in. *** Note all the following… Read more »

How To reverse the digits of a number using Shell Scripting

In this tutorial, I will share a simple script to reverse a number provided through command line in Unix/Linux Operating System. The script will print the reversed digits of provided number and if no number or more than one numbers are provided, then it will print an error. Algorithm is fairly simple : Let n be the given number. Set rev and rem equals to 0. Find last digit of… Read more »

The passwd Command – Terminal

passwd is command or tool in Unix/Linux-based operating systems which enables the user to change or configure Password of a User account. The password entered by user is run through a Key Derivation Function which converts the plain text to equivalent hash which is encrypted one. Original password is not saved anywhere for security reasons, only this hashed version of new password is stored in /etc/passwd file. Hashed version of… Read more »



© 9800 How To Ideas. All rights reserved.
Proudly designed by Theme Junkie.