List/Grid Tag Archives: command
Login and Logout using login, exit, logout commands – Terminal
If you are working on large system and the administrator has provided you just a terminal, then you can login to that workstation if you have your own user-id and password. In this example I will login to my own workstation using user-id howtoideas. Loging In: You can login to a workstation using following command login [username] example login howtoideas If above command is showing an error “login: Cannot possibly…
How To find out Biggest number among the three provided numbers through command line using Shell Scripting
In this tutorial, I will show you how can we find out the biggest number among three numbers which are provided through command line while running the script/program. Instructions: First of all, we will define the Shell which will execute our program with the following command. #!/bin/bash Now we will check whether the number of arguments passed are equal to 3 or not, if not we will print error message…