Fedora

How to view differences between two binary files in Fedora/RHEL Linux

The tool VBinDiff can be used to check the differences between two binary files. This tool displays data in hexadecimal and ASCII formats. This is a very small tool and can be installed in any Fedora/RHEL system using yum utility as shown below.

[root@techpulp ~]# yum install -y vbindiff
fedora                                                   | 2.8 kB     00:00
updates                                                  | 3.4 kB     00:00
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package vbindiff.i386 0:3.0-0.2.beta4.fc10 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package          Arch         Version                    Repository       Size
================================================================================
Installing:
vbindiff         i386         3.0-0.2.beta4.fc10         updates          41 k

Transaction Summary More >

How to start or stop or restart a service in Fedora/RHEL/Ubuntu/Debian Linux

The following examples show how to start or stop or restart a service in different flavours of Linux. In all these examples, the service name “httpd” is used. You can replace it with name of the service you want to start or stop or restart.

Starting a service

In RHEL or Fedora:

[root@techpulp ~]# service httpd start

or

[root@techpulp ~]# /etc/init.d/httpd start

In Debian Linux:

[root@techpulp ~]# /etc/init.d/httpd start

In Ubuntu Linux:

[root@techpulp ~]# sudo /etc/init.d/httpd start
Stopping a service

In RHEL or Fedora:

[root@techpulp ~]# service httpd stop

or

[root@techpulp ~]# /etc/init.d/httpd stop

In Debian Linux:

[root@techpulp ~]# /etc/init.d/httpd stop

In Ubuntu Linux:

[root@techpulp ~]# sudo /etc/init.d/httpd stop
Restarting a service

In RHEL or Fedora:

[root@techpulp ~]# service httpd restart

or

[root@techpulp More >