Skip to contentSkip to content

Gov.A.Th

Just another LInux blog

Close Button

How to add a service on Linux using chkconfigHow to add a service on Linux using chkconfig


June 5, 2012June 5, 2012 | govathgovath | 0 Comment | 5:46 am

Add a service to  auto start in linux Add the below #comment lines on top of the script which always located /etc/init.d/ #chkconfig: 2345 20 80 #description: Saves and restores

Read MoreRead More

Change 404 Page on Apache – LinuxChange 404 Page on Apache – Linux


March 29, 2012March 29, 2012 | govathgovath | 0 Comment | 11:23 am

Use the ErrorDocument directive in your conf file to set a custom error message. The easiest way to do this: Create a file with your custom error message. Save it

Read MoreRead More

Sendmail MasqueradingSendmail Masquerading


February 2, 2012February 2, 2012 | govathgovath | 0 Comment | 2:39 pm

After install sendmail .. follow the below procedure to simply avoid your emails to get spammed. Also avoid email address to shown as root@example.domain.com with masquerading. This feature allows multiple

Read MoreRead More

Disable Suspend and Hibernate – UbuntuDisable Suspend and Hibernate – Ubuntu


December 8, 2011December 8, 2011 | govathgovath | 0 Comment | 9:55 am

Open a Terminal from Applications>Accessories>Terminal. Become a root with su – or sudo su – vim /usr/share/polkit-1/actions/org.debian.aptxapianindex.policy Find the lines: <allow_active>yes</allow_active> Change this entry from “yes” to “no” to disable

Read MoreRead More

Disable screen going blank ubuntu server / Network timeoutDisable screen going blank ubuntu server / Network timeout


December 7, 2011December 7, 2011 | govathgovath | 0 Comment | 12:50 pm

Using setterm command. man setterm  : writes to standard output a character string that will invoke the specified terminal capabilities. Where possible terminfo is conâ sulted to find the string

Read MoreRead More

Sendmail Linux ExamplesSendmail Linux Examples


September 20, 2011September 20, 2011 | govathgovath | 0 Comment | 12:33 pm

Sendmail on the command line: $ sendmail emailaddress write body of message CTRL-D The CTRL-D is a end of message code for standard-in. Example : From: your-email@example.com To: email@example.com enter

Read MoreRead More

Create tar and copy to another server using tarCreate tar and copy to another server using tar


September 15, 2011September 15, 2011 | govathgovath | 0 Comment | 10:06 am

Just a note Code: tar -cvf – test | ssh -l username domain.com  “cd /home1/username && tar -xvf -“

Read MoreRead More

Delete / remove old / order files in linux automaticallyDelete / remove old / order files in linux automatically


September 15, 2011September 15, 2011 | govathgovath | 0 Comment | 9:26 am

Code: find /tmp/test -ctime +60 -delete The above command  will delete any files created over 60 days ago in the /tmp/test  folder (and all subfolders). You can add this to

Read MoreRead More

Kill and Logout Users From linuxKill and Logout Users From linux


September 14, 2011September 14, 2011 | govathgovath | 0 Comment | 9:51 am

Open a terminal, and then type the following commands. Login as root su – or sudo su – and entering the root password. Type the skill command as below: #

Read MoreRead More

How to search or find within a file in linuxHow to search or find within a file in linux


September 1, 2011September 1, 2011 | govathgovath | 0 Comment | 7:48 am

type the below command and change the below criteria to suite to your search : find /ENTER/PATH -type f -print0 | xargs -0 grep -i ENTER_TEXT_TO_SEARCH  

Read MoreRead More

Posts navigation

Previous page Page 1 Page 2 Page 3 … Page 10 Next page
  • Install Google Chrome on Ubuntu 
  • Find Your Public IP Address in Linux
  • Log Analyzer in Linux
  • How to send email using telnet
  • How to create a swap file in linux using dd
  • VMware ESXi convert Thick to Thin Provisioned Drives
  • Ubuntu Web Control Panel – Ajenti
  • Install webmin on ubuntu
  • Mailx configuration
  • how to change date on linux
  • How to add a service on Linux using chkconfig
  • Change 404 Page on Apache – Linux
  • Sendmail Masquerading
  • Disable Suspend and Hibernate – Ubuntu
  • Disable screen going blank ubuntu server / Network timeout
  • Sendmail Linux Examples
  • Create tar and copy to another server using tar
  • Delete / remove old / order files in linux automatically
  • Kill and Logout Users From linux
  • How to search or find within a file in linux
  • Shutdown ubuntu/esx/redhat server From windows using plink
  • Skype problem
  • HowTo – Batch Image Resize on Linux
  • Top command Description
  • Find Duplicate IP address
  • Facebook Chat Now Available with XMPP Pidgin
  • Linux Setfacl Getfacl ACL examples
  • Remove screen saver from linux
  • how to check folder/directory capacity in linux
  • Add proxy Ubuntu 9.10

Web Designer WordPress Theme By VWThemes

Scroll Up