Category: Linux

Broadband Connection setup in Fedora 14

I just installed Fedora 14 in my Laptop, after that I wanted to setup a Druknet broadband connection to access internet. After so much of trying i finally did it. My Current Situation of broadband connection was: Connecting to druknet Broadband through my home wireless network. 1. I connected to my wireless network 2. I [...]

Problem accessing through FTP Client

There are times when you come across an error message when you use FTP Client, the error message with be something like Failed to list directory or something like that. During such error make sure your Linux server has port 20 and 21 opened in IPTABLES. If those ports are allowed in your IPTABLES than [...]

Mail Server Configuration in CentOS using Postfix

First thing to do is check if postfix and dovecot is installed in your Linux Machine rpm -qa postfix rpm -qa dovecot If postfix and dovecot is not installed, then install it using yum command yum install postfix dovecot -y Now lets start configuring Mail Server: 1. Look for the below line and make necessary [...]

Use grep to search file

Search /etc/passwd for boo user: grep boo /etc/passwd You can force grep to ignore word case i.e match boo, Boo, BOO and all other combination with -i option: grep -i “boo” /etc/passwd Use grep recursively You can search recursively i.e. read all files under each directory for a string “boo”: grep -r “boo” /etc/ You [...]

Remove Mail Queue in Postfix

To see mail queue, enter: # mailq To remove all mail from the queue, enter: # postsuper -d ALL mail.pl [script removed the mail queue as entered after the script] #!/usr/bin/perl $REGEXP = shift || die “no email-adress given (regexp-style, e.g. bl.*\@yahoo.com)!”; @data = qx; for (@data) { if (/^(\w+)(\*|\!)?\s/) { $queue_id = $1; } [...]

Page 2 of 212

Follow Me

Weather

Thimphu: 6° C

Condition: Mostly Cloudy

Sunrise: 7:12 am

Sunset: 8:46 pm

Time: 11:23:41 am

Archives

Users: 3 Guests, 1 Bot