From the category archives:

Tip that matters

Use following command to start HP-UX network service:
/etc/init.d/net start
OR
/sbin/init.d/net start
Please note that your network configuration file is /etc/rc.config.d/netconf . Here is my sample /etc/rc.config.d/netconf file:
# cat /etc/rc.config.d/netconf
Output:
HOSTNAME=deephpux < –change hostname here
OPERATING_SYSTEM=HP-UX
LOOPBACK_ADDRESS=127.0.0.1
INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=192.168.1.100 [...]

{ 3 comments }

Under Debian Linux ( and most other distros) startup files are stored in /etc/init.d/ directory and symbolic linked between /etc/rcX.d/ directory exists. Debian Linux (Red Hat/ Fedora) uses System V initialization scripts to start services at boot time from /etc/rcX.d/ directory. Debian Linux comes with different utilities to remove unwanted startup file:
(A) rcconf
It [...]

{ 9 comments }

The resolv.conf file is the resolver configuration file. It is use to configure client side access to the Internet Domain Name System (DNS). This file defines which name servers to use.
The resolver is a set of routines in the C library that provide access to the Internet Domain Name System (DNS). [...]

{ 14 comments }

1) First try pining your own IP address to see if your IP address is set properly, syntax is:
ping IP-ADDRESS
If your IP address is 202.54.1.10 then try:
# ping 202.54.1.10
Tip use ifconfig command to see IP address for eth0 or any other interface.
2) Try pinging neighboring machines IP addresses:
# ping 192.168.1.2
# ping 202.54.1.12

If you need to [...]

{ 0 comments }

Very simple, here is the command to convert man page of ls command to text file:
man ls | col -b > ls.txt
Then use lpr print command to print ls.txt file i.e. it sends a print job to the default system queue/printer connected to Linux/UNIX:
cat ls.txt | lpr
OR
lpr ls.txt
You can also try:
man ls | [...]

{ 0 comments }

passwd command changes passwords for user accounts. A normal user may only change the password for his/her own account, while the super user may change the password for any account. passwd also changes account information, such as the full name of the user, the user’s login shell, or his/her password expiry date [...]

{ 4 comments }

RedHat Linux command to reload or restart network (login as root user):
# service network restart
OR
# /etc/init.d/network restart
To start Linux network service:
# service network start
To stop Linux network service:
# service network stop
Debian Linux command to reload or restart network:
# /etc/init.d/networking restart
To start Linux network service:
# /etc/init.d/networking start
To stop Linux network service:
# /etc/init.d/networking stop
Ubuntu [...]

{ 17 comments }

inetd is a daemon on Linux (BSD/Unix) systems that manages Internet services. inetd listens on all ports used by internet services such as FTP, POP3, and telnet. When a TCP packet or UDP packet comes in with a particular port number, inetd launches the appropriate server program to handle the connection. This uses memory [...]

{ 0 comments }

You need to remove driver related to Ethernet card. Under Linux use following commands:
1) Find out driver attached to eth0 using following command
lsmod | less
2) Remove the driver using rmmod command:
rmmod driver-name
3) Again insert driver into kernel using
modprobe driver-name
For example, let us assume your driver name is 8139too , then your command should [...]

{ 0 comments }