December 05, 2017

Python Input Function

Python is really cool and fun to play around. Lets write a simple program to ask user enter their name and age. To do this here, we're going to use python input function

CODE

name = input("What is your name?: ")
print(name)

age = input ( "How old are you?: " )
print(age)


OUTPUT

name = input("What is your name?: ")
What is your name?: Naocha
print(name)
Naocha

age = input ( "How old are you?: " )
How old are you?:19
print(age)
19


Now, lets make it more interesting by telling python to display the name and the age of the user in one line.

November 19, 2017

Useful Command Line for CentOS Linux

I am a windows pc user, recently an IT guy from the company I am working recommended me Linux CentOS. It has been a couple of months I have been learning to operate CentOS and having fun with its command line.

I have gathered some few really essential command line which will help you, if you are new to the world of  Linux CentOS.


Terminal Commands:

yum update   [ This will update all the packages. "For  root user" ]

sudo yum update   [ This will update all the packages. "For  normal user" ]

clear   [ It clears whatever written in the terminal window ]

ls   [ It will give you a list of the Contents in the directory ]


Coming up more in the list..

April 22, 2017

How to check Computer Startup time in Windows

Thinking of how to check your computer's startup time. Here's a simply way to do that and no installation of any software is required. After leaving your computer ON for an extended periods of time, you might tend to forget the start up time and if you are having multiple computers it can be more difficult to remember and manage each computer's startup time unless you note it down. And for this reason we think of how and a better quick way to track the start up time.

There are several ways to check your computer start up time, Here, I am  going to show you a simple Command Prompt to quickly check computer startup up time information.

Step 1 [ Launch the command prompt using Window + R and  and type cmd and Hit Enter to run it. ]

April 02, 2017

Keyboard Shortcuts and useful Commands for Windows

Using Keyboard shortcuts makes you easier and faster when navigating the file structures and executing specific commands on your computer. Not all of us are aware of how to quickly perform the tasks that we manually do on computer using shortcuts keys.

Keyboard shortcuts can be really helpful if your daily job relies heavily on the same repetitive task. Below you will find a list of keyboard shortcuts for Windows which you may find it most helpful to access and run certain tasks.

Window + E [ Opens File explorer ]

Ctrl + N [ When you press from a folder directory it opens the same directory on a new window ]

Window + R [ It opens Run command]

Window + tab [ Shows all the open Windows ]