HowtoForge provides user-friendly Linux tutorials.

  • How do I search for a term in a file?

    apache Author: adminTags: Comments: 0

    With the grep command. If you want to find out if the term user is in /etc/httpd/conf/httpd.conf, you would run grep -i user /etc/httpd/conf/httpd.conf (-i makes the search case-insensitive). Normally grep does not tell you the line number where it finds the term. If you want to find out the line number, run grep -n -i user /etc/httpd/conf/httpd.conf

    read more... | add comment | view as pdf | print

  • How do I find out who is logged in on my system?

    apache Author: adminTags: Comments: 0

    You can find out about logged in users either by running who (Sample output: server:~# who root pts/0 Nov 12 11:28 (192.168.0.202) ) or w which gives more detailed output: server:~# w 11:29:49 up 2:19, 1 user, load average: 0.02, 0.01, 0.00 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT root pts/0 192.168.0.202 11:28 0.00s 0.08s 0.01s w

    read more... | add comment | view as pdf | print

  • How do I find out which gateway a Linux system is currently using?

    apache Author: adminTags: Comments: 5

    Run route -nee The output will look like this: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface MSS Window irtt 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0 0 0 0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0 0 0 0 0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0 0 0 0 This means that the system with the IP address 192.168.0.100 is using 192.168.0.1 as gateway.

    read more... | add comment | view as pdf | print

  • How do I find out if a remote system is still alive, if certain services are running, which processes are running, etc.?

    apache Author: adminTags: Comments: 0

    You can use ping to see if the system is alive: ping -c4 <system's IP address> To see if a certain service is still alive, use the telnet command: telnet <system's IP address> 25 (for SMTP) telnet <system's IP address> 80 (for HTTP) telnet <system's IP address> 110 (for POP3) You can login to the system using SSH (port 22) (use PuTTY if you are on a Windows PC; PuTTY is an SSH client for Windows), and when you are on the system, you have a few useful tools to gather more information:

    read more... | add comment | view as pdf | print

  • Greylisting - fight Spam with Postgrey and Postfix on Debian and Ubuntu

    debian Author: erkTags: , , Comments: 9

    There are numerous ways to prevent spam from reaching your inbox, the most popular is probably SpamAssassin. Greylisting will not replace spam filtering software like SA but it will serve as a powerful first hurdle for spam thus reducing the ammount of spam entering the system at all.

    read more... | add comment | view as pdf | print

  • Getting Things Done in the New Year

    Author: joeTags: Comments: 2

    Getting Things Done in the New Year Author: Joe Topjian <joe [at] adminspotting [dot] net> What a better way to start the New Year off than to get organized. There's this really cool Rails application called Tracks that will give you a web-based management interface for organization. Setting it up is pretty easy, and that's what I'll be going over here.

    read more... | add comment | view as pdf | print

  • Screenshots

    android Author: adminTags: Comments: 2

    If you have made screenshots of a distribution not listed here, we would be pleased if you submitted them to us for publication on HowtoForge.Requirements:The screenshots should have a resolution of at least 800x600 pixels.Accepted image formats: .jpg, .gif, .png Please send your screenshots as .zip or .tar.gz archive to: [email protected]

    read more... | add comment | view as pdf | print