About admin

My name is Vidyadhar Sarmalkar & I work as a consultant and have done RHCE & CCNA.
Website:
admin has written 229 articles so far, you can find them below.


RPM Commands Cheat sheet

RPM is a package management system. RPM was intended primarily for GNU/Linux distributions; the file format is the baseline package format of the Linux Standard Base.

Following commands can help you to manage your day to day task with .rpm files.

rpm -ivh {rpm-file}		Install the package
rpm -Uvh {rpm-file}		Upgrade package
rpm -ev {package}		Erase/remove/ an installed package
rpm -ev --nodeps {package}	Erase/remove/ an installed package without checking for dependencies
rpm -qa				Display list all installed packages
rpm -qi {package}		Display installed information along with package version and short description
rpm -qf {/path/to/file}		Find out what package a file belongs to i.e. find what package owns the file
rpm -qc {pacakge-name}		Display list of configuration file(s) for a package
rpm -qcf {/path/to/file}	Display list of configuration files for a command
rpm -qa --last			Display list of all recently installed RPMs
rpm -qpR {.rpm-file}		Find out what dependencies a rpm file has

Samsung Galaxy Tab 2 million units sold

According to the source, Samsung Electronics Co., said on Wednesday that it has sold more than 2 millions units of the Samsung Galaxy Tab from its launch date.

Earlier we have told you Samsung Galaxy S Crossed 10 Million Units Sold, now its time of Samsung Galaxy Tab.

Samsung achieved the sales figure this week with very strong strategy. The Android running tablet is available across 94 countries from aprox. 200 different countries. According to the news about 500,000 units of the Galaxy Tab were shipped to Europe while 350,000 tablets were sold in North America and another 330,000 units in Asia.

Finding External IP via Command in Linux

Most of the time while handling client’s Linux machines I have to find out their external IP. On Linux box you can do this by using lynx command. First you need to install lynx on your machine.

To install lynx from apt,

apt-get install lynx

To install lynx from yum,

yum install lynx

Now just run following to find out external ip

/usr/bin/lynx --dump whatismyip.com | grep "Your IP Address Is" | cut -d ":" -f 2

Creating RAMDISK on fly

RAMDISK is part of system memory which user can use as a normal disk space. The advantage of RAMDISK is faster read and write access in comparison of Hard Disk.

By default Ubuntu mount RAMDISK on /dev/shm/ directory.

To setup RAMDISK on other distributions like Fedora or CentOS, you can follow below method. My machine’s actual RAM size is 2GB out of which I am going to use 512MB for ramdisk.

NOTE : You can also use below method on Ubuntu

mkdir -p /media/ramdisk
mount -t tmpfs -o size=512M tmpfs /media/ramdisk/

Sony PSP 2 NGP Revealed

Today in a special event in Tokyo, Sony Computer Entertainment’s Shuhei Yoshida and Kaz Hirai revealed PSP 2 game console, calling the NGP or Next Generation Portable.

PSP 2 powered by quad-core Cortex A9 processor with quad-core PowerVR SGX543MP GPU. The device sports a 5-inch OLED touch screen with a resolution of 960×544. The device also have Wi-Fi, 3G, GPS, Bluetooth options for connectivity.

It also sports an accelerometer, a gyro-scope, an electronic compass and dual-analog sticks.

The main feature is ‘LiveArea UI’. In LiveArea UI gamers can play games online with other players.

It is expected to be out sometime towards the end of 2011.

Source

rss twitter facbook

Categories

Archives