News about the daily tips

From now on the Daily tip will be called Daily IT pill and it will be about not only with Linux, but also with networking, security and programming. As usuaul it could be not merely written as a tip, but also as a FAQ.

Daily tip

Can you run the Android Operating System OS on a x86 system?

Yes, you have the project Android-x86 (http://www.android-x86.org) which aims to provide complete solution for Android on Eee PC platforms first and then to provide solutions for common x86 platforms as well.

Daily tip

How do I disable IPv6 permanently on all interfaces?

Open /etc/sysctl.conf with a text editor, and add the following lines.

#to disable IPv6 on all interfaces system wide

net.ipv6.conf.all.disable_ipv6 = 1

Then run
$ sudo sysctl -p /etc/sysctl.conf

Daily tip

How to display the headers of a binary file in Linux?

With readelf; for instance:

readelf -e `which sh`

Daily tip

How to register and subscribe a system to the Red Hat Customer Portal using Red Hat Subscription-Manager?

Please consult the below Red Hat Link. The key command is subscription-manager:

https://access.redhat.com/solutions/253273


Daily tip

How can I copy a file preserving on destination the modification date and time?

With the option -p like in:

cp -p file /destination/folder

Daily tip

How can I check to which package does belong a file in Gentoo?

With the equery command, for instance:

# equery belongs `which emerge`