How To Ideas | How To Articles | How To Tutorials


List/Grid Tag Archives: Terminal

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 »

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 »

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 »

How to check which version of Ubuntu you are running

You can check version of Ubuntu you are running either by checking System Information or using Command Line. Instructions: Using System Information Open Dash home, and search for System Info. In System Info dialogue, Ubuntu version number is given below the logo of Ubuntu in the right part of dialogue. Using Command line (Terminal) Open Terminal and type in the following command and press Enter, which will print Distribution Specific… Read more »



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