Raining Season

linux

Stop asking for sudo password

This is how to stop Ubuntu for asking for sudo password everytimes.


# sudo visudo

Then add this line at the bottom of the file


username ALL=NOPASSWD: ALL

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"

Share this page :

Custom Search
Syndicate content