Open Source Gift Ideas for the Holiday Season

Open Source Gift Ideas for the Holiday Season

It is the holiday season and a time to share and exchange presents. And what better way to share some love this holiday season than by giving your loved ones an open More »

Wekan – Open Source Alternative to Trello

Wekan – Open Source Alternative to Trello

Wekan is an open source collaborative project management tool similar to Trello like boards. It offers some of the Kanban functionalities and features as well. On Wekan one can easily create boards, More »

The Zero Terminal – Pocket Computer that works!

The Zero Terminal – Pocket Computer that works!

The real joy of tinkering with Raspberry Pi is to build something nifty and fun. To hack a really whacky and crazy idea into a working prototype. That we all love and More »

OpenAg – Open Source Food Computer

OpenAg – Open Source Food Computer

MIT Open Agriculture (OpenAg) is a wonderful execution of an open source initiative for controlled-environment agriculture platform referred to as “Food Computer”. All hardware, software and even data is open sourced so More »

Intel Edison bites the dust – No more in IoT space

Intel Edison bites the dust – No more in IoT space

Has Intel finally thrown in the towel in the IoT space? Earlier this year, Intel announced that it will discontinue their IoT platforms namely, Galileo, Joule, and Edison. We wrote about Edison More »

 

Tag Archives: shell

How-to Disable Password Authentication on Linux

This how-to will explain how to disable password based authentication on Linux based systems. It is in continuation of our series on System Security. With the first one published on SSH keys based authentication. We wrote this as a lot of you sent us messages, on social media, to add tutorials on how to secure the server by disabling the password based authentication.

We recommend that the administrator should not attempt to disable password based authentication unless SSH keys are correctly setup and users can easily login using that method.

This is the second article in the series on “Systems Security”. The articles in the System Security series are listed below.

  1. How to setup SSH keys based authentication
  2. How to disable password based authentication (current article)
  3. How to setup UFW Firewall
Techie by day, blogger by night. Love the outdoors, enjoy traveling and building new and interesting things. Follow me if you want to know something.

How to check elapsed time in Terminal

When we have processes running for a while and we want to know how long they have been running, there are a few nifty ways we can check them on Mac and Linux/Unix. Here is one such method to check elapsed time in BASH.

First grab the process ID (PID) using the following command. In the following command, we are trying to grab the process ID of mongoDB.

pgrep mongo

pgrep command tells shell prompt on Mac/Linux/Unix terminal to capture the process ID (PID) of the process we are interested. In this case it is mongoDB.

Techie by day, blogger by night. Love the outdoors, enjoy traveling and building new and interesting things. Follow me if you want to know something.

How to tell if your Computer is 64 bit?

Modern computers are all 64bit. Barring a few netbooks. But if you have an older system like a Pentium 4 or even Core2Duo or equivalent, you might have a 64bit system. Majority of those were 32bits but some were built for 64bit architecture.

If you want to find out if your PC/laptop is 32bit or 64 bit, do the following in Ubuntu:

  • Start a command line Terminal
  • Type the following command:

lscpu

Techie by day, blogger by night. Love the outdoors, enjoy traveling and building new and interesting things. Follow me if you want to know something.

Geek Speak – Finding your Linux Version

Ever wonder what version of Linux is installed on your desktop. Here is how to find out:

At command line, type the following

~$ cat /etc/issue

In my case I get the following result:

Ubuntu 8.04.2 \n \l

Hence, my desktop is running Ubuntu 8.04.02

Alternatively you can also type the following:

~$ cat /etc/lsb-release

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION=”Ubuntu 8.04.2″

In case if you are running one of Debian releases, you can find out the Debian version on your system by typing:

~$ cat /etc/debian_release

lenny/sid

To find out the Linux kernel on your system, type the following:

~$ uname -r

2.6.24-23-generic

So now you can track the version of your Linux even during automatic upgrades.