Aix

Unix Disabling Daemons / services from inetd.conf

Tune your system more by disabling all unwanted and unused daemons from running on the system. This can be done by  editing the /etc/inetd.conf file and the rc files or directories. Modify the /etc/inetd.conf file and disable unnecessary daemons running on the system. # vi /etc/inetd.conf # # Configuration file for inetd(1M). See inetd.conf(4). # …

Unix Disabling Daemons / services from inetd.conf Read More »

Unix Disabling Daemons / services from inetd.conf

Tune your system more by disabling all unwanted and unused daemons from running on the system. This can be done by  editing the /etc/inetd.conf file and the rc files or directories. Modify the /etc/inetd.conf file and disable unnecessary daemons running on the system. # vi /etc/inetd.conf # # Configuration file for inetd(1M). See inetd.conf(4). # …

Unix Disabling Daemons / services from inetd.conf Read More »

How do I extend the terminal width or set term variables with ksh? / Not Getting the full command info from ps in Unix terminal ?

To identify processes to kill we need to view the FULL output from the ps command (we use the comm field). But by default we are not able to view full command.  So here is the solution.. Solaris : /usr/ucb/ps -awux You may need two “w” options. From ps(1b): -w Uses a wide output format …

How do I extend the terminal width or set term variables with ksh? / Not Getting the full command info from ps in Unix terminal ? Read More »

How do I extend the terminal width or set term variables with ksh? / Not Getting the full command info from ps in Unix terminal ?

To identify processes to kill we need to view the FULL output from the ps command (we use the comm field). But by default we are not able to view full command.  So here is the solution.. Solaris : /usr/ucb/ps -awux You may need two “w” options. From ps(1b): -w Uses a wide output format …

How do I extend the terminal width or set term variables with ksh? / Not Getting the full command info from ps in Unix terminal ? Read More »

How to check and install missing perl modules

Check if module is installed. Errors mean missing module. # perl -MModule::Name -e 1 See documentation of the module if installed. # perldoc Module::Name Open CPAN shell # perl -MCPAN -e shell To reconfigure the shell if needed. cpan>o conf init Install an available module. cpan> install HTML::Template You can run the Perl CPAN module …

How to check and install missing perl modules Read More »

How to get a copy of root’s email or forward it to an smtp email address

We can edit the aliases file for the system and set our address as the destination for root. so you can edit /etc/aliases (or wherever the aliases file has gone) and look at the existing aliases. There is probably an entry for root (possibly commented out) that shows a fictitious user. Add an entry like: …

How to get a copy of root’s email or forward it to an smtp email address Read More »

Scroll to Top