HowtoForge provides user-friendly Linux tutorials.
-
What virus scanner is used by ISPConfig 2?
Author: Till Brehm • Tags: ispconfig, security • Comments: 0
ISPConfig 2 uses ClamAV (http://www.clamav.net) as virus scanner and the E-mail Sanitizer (http://www.impsec.org/email-tools/procmail-security.html) as content filter.
-
How do I configure Sendmail for SMTP-Auth?
Author: Till Brehm • Tags: sendmail • Comments: 0
Some helpful links: http://www.sendmail.org/%7Eca/email/auth.html http://www.jonfullmer.com/smtpauth/ http://www.joreybump.com/code/howto/smtpauth.html http://server.1und1.com/root_server/bs/suse72/howtos/1.html http://info.ccone.at/INFO/Mail-Archives/redhat/Jan-2002/msg02936.html http://www.howtoforge.com/howto_sendmail_smtp_auth_tls
-
Making snapshots of the process table shown by the TOP command
Author: till • Tags: shell • Comments: 0
To make a snapshot of the current process table, use the following command: top -n 1 -b > /tmp/processtable.txt You can now view the textfile with any text editor, e.g. pico or vi.
-
-
Show all processes for a specific user
Author: Till Brehm • Tags: shell • Comments: 4
To view only the processes owned by a specific user, use the following command: top -U [USERNAME] and replace [USERNAME] with the name of the user.
-
Get a list of the installed services
Author: till • Tags: shell • Comments: 5
To get a list of the installed services on the shell, you may use this command (on Fedora, RedHat, CentOS, SuSE, and Mandriva): chkconfig --list
-
Creating image borders with ImageMagick convert
Author: till • Tags: shell • Comments: 0
The command is: convert -border 2x2 old.jpg new.jpg This creates a new image (new.jpg) with a 2 pixel border from the image old.jpg. To set the bordercolor to red, use this command: convert -border 2x2 -bordercolor "#FF0000" old.jpg new.jpg
-
How can I clear the shell window?
Author: Till Brehm • Tags: shell • Comments: 1
Use the commad: clear or the keyboard shortcut: [CTRL] + [L]
-
How to save a command in the shell history without executing it
Author: Till Brehm • Tags: shell • Comments: 2
Enter the command line and hit the keys:[CTRL] + [#]This will put a # in front of the command and execute it. The shell will take it as comment.
-
How can I observe a logfile continuously?
Author: Till Brehm • Tags: shell • Comments: 1
With the command: tail -f /path/to/logfile you will see all lines added to the logfile. To stop this, press [CTRL] + c
-
I get the feeling that my hard disk is very slow. Is there a way I can verify and tune it?
Author: Falko Timme • Tags: other • Comments: 0
You can use hdparm to tune your hard disk. On Debian, you would run apt-get install hdparm to install it. hdparm --help shows a list of all available options. To get more information about your hard disk, run hdparm -i /dev/hda This will look like: /dev/hda: Model=MAXTOR 6L060J3, FwRev=A93.0500, SerialNo=663214759549 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs } RawCHS=16383/16/63, TrkSize=32256, SectSize=21298, ECCbytes=4 BuffType=DualPortCache, BuffSize=1819kB, MaxMultSect=16, MultSect=16 CurCHS=4047/16/255, CurSects=16511760, LBA=yes, LBAsects=117266688 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120} PIO modes: pio0 pio1 pio2 pio3 pio4 DMA modes: mdma0 mdma1 mdma2 UDMA modes: udma0 udma1 *udma2 AdvancedPM=no WriteCache=enabled Drive conforms to: ATA/ATAPI-5 T13 1321D revision 1: * signifies the current active mode To see how fast your hard disk currently is execute