Raining Season

linux

Find NIC Id

On Ubuntu, Use this command for getting MAC address on eth0 ...
# ethtool -P eth0

Convert .RPM to .DEB

Make debian build directory with ...
#alien -p Package.rpm
#cd Package-directory
Make .deb for debian
#debian/rules binary

Determine type of FILEs

use this command to determine file type.
$ file "filename"

example :
$ file u-boot
u-boot: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), statically linked, not stripped

How to upgrade a single package in Ubuntu

Run this on the terminal

# apt-get install --only-upgrade "packagename"

Set Keyboard layout with command line

For example, If you want to change keyboard layout to Japanese keyboard layout.

with this command ->

$sudo loadkeys jp

$sudo setxkbmap jp

Share this page :

Custom Search
Syndicate content