Monthly Archives: March 2014

File times on Linux system.

On Linux system, files have three different times. Very first thing before going forward, every thing in Linux is file. There are some exceptions to that but I will not be talking about that. Meta-data about the file that describes the file is stored separately besides contents of file. The place where this meta-data is […]

Print machine architecture name

If you want to know machine architecture of your system then there are many ways to do that. arch command prints hardware name of your machine. This is same as uname -m. $ arch i686 Enjoy!

Start your webcam from command-line

On Linux system, if you have integrated or external web-cam. Then you don’t need a extra software for configuring, capturing it. VLC could do that for you. $ vlc v4l2:///dev/video0 In above example v4l2 (Video for Linux 2) is module or protocol used to start capturing video. /dev/video0 is device node for your web-cam. Once […]