Posts

Showing posts from January, 2013

2012: What a Year for Linux

Image

How to Set Up a Raspberry Pi and Install Raspbian

Image
http://lifehacker.com/5976912/a-beginners-guide-to-diying-with-the-raspberry-pi

The Beaglebone - Unboxing, Introduction Tutorial and First Example

Image

15 Bash For Loop Examples for Linux / Unix / OS X Shell Scripting

Ref. to https://www.youtube.com/watch?feature=player_embedded&v=ocXb3qeg7Es
Image
FAQ for LNB / LNBF: What does LNB and LNBF stand for? LNB stands for Low Noise Block. LNBF stands for Low Noise Block Feed. What is the difference between LNB and LNBF? LNB usually only receives signal from 1 polarity (Vertical or Horizontal for Linear FSS and Right or Left for Circular DSS) A good example of of a LNB is our 211. Usually Vertical and Right polarities operate on 13V DC and Horizontal and Left polarities operate on 18V DC. What is the difference between a Standard Ku band LNBF, Normal Ku band LNBF, and Universal Ku band LNBF? There are 3 main types of LNBF's. The first is Standard. Standard & Normal LNB and LNBF's are the same. They are FSS linear and the frequency range is from 11.7GHz to 12.2GHz. The second type of LNB/F is Universal. The frequency range for a universal LNBF is 10.7GHz to 12.75GHz. This is more popular in Europe and the Middle East because their satellite broadcast within the 10.70GHz to 12.75GHz. Th...
Funny VLC commercial

Javarevisited: Top 5 Java programming books - Best of lot

Javarevisited: Top 5 Java programming books - Best of lot : These top Java programming books are very good Java books and I would say best of lot. Whenever a programmer starts learning Java first

rpm command cheat sheet for Linux

rpm is a powerful Package Manager for Red Hat, Suse and Fedora Linux. It can be used to build, install, query, verify, update, and remove/erase individual software packages. A Package consists of an archive of files, and package information, including name, version, and description: Syntax Description Example(s) rpm -ivh {rpm-file} Install the package rpm -ivh mozilla-mail-1.7.5-17.i586.rpm rpm -ivh --test mozilla-mail-1.7.5-17.i586.rpm rpm -Uvh {rpm-file} Upgrade package rpm -Uvh mozilla-mail-1.7.6-12.i586.rpm rpm -Uvh --test mozilla-mail-1.7.6-12.i586.rpm rpm -ev {package} Erase/remove/ an installed package rpm -ev mozilla-mail rpm -ev --nodeps {package} Erase/remove/ an installed package without checking for dependencies rpm -ev --nodeps mozilla-mail rpm -qa Display list all installed packages rpm -qa rpm -qa | less rpm -qi {package} Display install...

RPM Tit-Bits ;-)

The -U qualifier is used for updating an RPM to the latest version, the -h qualifier gives a list of hash # characters during the installation and the -v qualifier prints verbose status messages while the command is run. Here is an example of a typical RPM installation command to install the MySQL server package: [root@localhost rajesh]# rpm -Uvh mysql-server-5.1.52-1.el6_0.1.x86_64 Preparing...        ####################### [100%]   1:mysql-server   ####################### [100%] Installing Source RPMs :- Compiling and installing source RPMs with Fedora can be done simply with the rpmbuild command [root@localhost rajesh]# rpmbuild --rebuild filename123.src.rpm [root@localhost rajesh]# rpm -qi openssh Name        : openssh                      Relocations: (not relocatable) Version...
3 golden rule for linux sys-admin. Rule #1: Backup Everything ( and validate the backup regularly ) Rule #2: Master the Command Line ( and avoid the UI if possible ) Rule #3: Automate Everything ( and become lazy )   R ef. to article : http://www.thegeekstuff.com/2010/07/three-sysadmin-rules/    
Image
Wondershare Video Converter Ultimate is a comprehensive video conversion application that allows you to convert a wide variety of formats to almost any output format, including 3D. We found the software easy to use. I personally like the speed & size it compress and quality is still maintained.

IP command syntax

OBJECT The names of all objects may be written in full or abbreviated form, f.e. address is abbreviated as addr or just a. link network device. address protocol (IP or IPv6) address on a device. addrlabel label configuration for protocol address selection. neighbour ARP or NDISC cache entry. route routing table entry. rule rule in routing policy database. maddress multicast address. mroute multicast routing cache entry. tunnel tunnel over IP. xfrm framework for IPsec protocol. Example:- [rajesh@localhost ~]$ ip neighbour 192.168.150.1 dev eth0 lladdr 00:50:56:c0:00:08 DELAY 192.168.150.2 dev eth0 lladdr 00:50:56:fd:c8:aa STALE [rajesh@localhost ~]$ ip addrlabel list prefix ::1/128 label 0 prefix ::/96 label 3 prefix ::ffff:0.0.0.0/96 label 4 prefix 2001::/32 label 6 prefix 2001:10::/28 label 7 ...
Good shell program for newbie. http://bash.cyberciti.biz/guide/Hello,_World!_Tutorial
#!/bin/sh # Shell script scripts to read ip address # ------------------------------------------------------------------------- # Copyright (c) 2005 nixCraft project <http://cyberciti.biz/fb/> # This script is licensed under GNU GPL version 2.0 or above # ------------------------------------------------------------------------- # This script is part of nixCraft shell script collection (NSSC) # Visit http://bash.cyberciti.biz/ for more information. # ------------------------------------------------------------------------- # Get OS name OS=`uname` IO="" # store IP case $OS in Linux) IP=`ifconfig | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1}'`;; FreeBSD|OpenBSD) IP=`ifconfig | grep -E 'inet.[0-9]' | grep -v '127.0.0.1' | awk '{ print $2}'` ;; SunOS) IP=`ifconfig -a | grep inet | grep -v '127.0.0.1' | awk '{ print $2} '...
Ever wanted to get the MAC or IP address of your computer in a Linux shell script? The following two commands should work on most flavours of Linux/Unix. To get your IP address: /sbin/ifconfig \ | grep '\<inet\>' \ | sed -n '1p' \ | tr -s ' ' \ | cut -d ' ' -f3 \ | cut -d ':' -f2 To get your MAC address (Hardware address): /sbin/ifconfig \ | grep 'eth0' \ | tr -s ' ' \ | cut -d ' ' -f5 Note that this retrieves the address of the eth0 interface by default. Ref: to article 'http://www.linuxjournal.com/content/tech-tip-getting-your-mac-and-ip-address-script' Ex::- [root@localhost rajesh]# ifconfig |grep '\<inet\>'           inet addr:192.168.150.4  Bcast:192.168.150.255  Mask:255.255.255.0           inet addr:192.168.150.100  Bcast:192.168.150.255  Mask:255.255.255.0           inet addr:12...
Image
The K-Lite Codec Pack is a collection of DirectShow filters, VFW/ACM codecs, and tools. Codecs and DirectShow filters are needed for encoding and decoding audio and video formats. The K-Lite Codec Pack is designed as a user-friendly solution for playing all your audio and movie files. With the K-Lite Codec Pack you should be able to play all the popular audio and video formats and even several less common formats.
HandBrake is an open-source, GPL-licensed, multiplatform, multithreaded video transcoder, available for MacOS X, Linux and Windows. Outputs: File Containers: MP4(M4V) and MKV Video Encoders: H.264(x264), MPEG-4 and MPEG-2 (libav), or Theora(libtheora) Audio Encoders: AAC, CoreAudio AAC/HE-AAC (OS X Only), MP3, Flac, AC3, or Vorbis. Audio Passthru: AC-3, DTS, DTS-HD, AAC and MP3 tracks Misc features: Chapter selection, Chapter Markers Subtitles (VobSub, Closed Captions CEA-608, SSA, SRT) Constant Quality or Average Bitrate Video Encoding Support for VFR, CFR and VFR Video and Filters: Deinterlacing, Decomb, Detelecine, Deblock, Grayscale Cropping and scaling Live Video Preivew Built-in presets for common devices