POP3 Command Summary

30 09 2008

Minimal POP3 Commands:

      USER name               valid in the AUTHORIZATION state
      PASS string
      QUIT

      STAT                    valid in the TRANSACTION state
      LIST [msg]
      RETR msg
      DELE msg
      NOOP
      RSET

      QUIT                    valid in the UPDATE state

   Optional POP3 Commands:

      APOP name digest        valid in the AUTHORIZATION state

      TOP msg n               valid in the TRANSACTION state
      UIDL [msg]

   POP3 Replies:

      +OK
      -ERR




Telnet – SMTP Commands (sending mail using telnet)

30 09 2008

In order to access your mailbox you will need 3 things:

  • An active internet connection (an embarrasing stage to miss sometimes!)
  • The address of a mail server capable of relaying for you – usually provided by your dialup provider (e.g. mail.domain.ext)
  • A valid email address (e.g. mail@domain.ext)

The first thing to do is to open a connection from your computer to your mail server.
telnet mail.domain.ext 25
Read the rest of this entry »





Common Linux commands – system info

30 09 2008

“From http://www.unixguide.net/linux/linuxshortcuts.shtml”

pwd
Print working directory, i.e., display the name of my current directory on the screen.

Read the rest of this entry »





Process control command

30 09 2008

“From http://www.unixguide.net/linux/linuxshortcuts.shtml”

ps
(=print status) Display the list of currently running processes with their process IDs (PID) numbers. Use ps axu to see all processes currently running on your system (also those of other users or without a controlling terminal), each with the name of the owner. Use “top” to keep listing the processes currently running.

Read the rest of this entry »





Network administration tools

30 09 2008

“From http://www.unixguide.net/linux/linuxshortcuts.shtml”

netconf
(as root) A very good menu-driven setup of your network.

Read the rest of this entry »





Accessing drives/partitions

30 09 2008

“From http://www.unixguide.net/linux/linuxshortcuts.shtml”

mount
See here for details on mounting drives.  Examples are shown in the next commands.

mount -t auto /dev/fd0 /mnt/floppy
(as root) Mount the floppy. The directory /mnt/floppy must exist, be empty and NOT be your current directory.

mount -t auto /dev/cdrom /mnt/cdrom
(as root) Mount the CD. You may need to create/modify the /dev/cdrom file depending where your CDROM is. The directory /mnt/cdrom must exist, be empty and NOT be your current directory.

mount /mnt/floppy
(as user or root) Mount a floppy as user. The file /etc/fstab must be set up to do this. The directory /mnt/floppy must not be your current directory.

mount /mnt/cdrom
(as user or root) Mount a CD as user. The file /etc/fstab must be set up to do this. The directory /mnt/cdrom must not be your current directory.

umount /mnt/floppy
Unmount the floppy. The directory /mnt/floppy must not be your (or anybody else’s) current working directory. Depending on your setup, you might not be able to unmount a drive that you didn’t mount.





Linux basic operations command

30 09 2008

“From http://www.unixguide.net/linux/linuxshortcuts.shtml”

any_command --help |more
Display a brief help on a command (works with most commands). “–help” works similar to DOS “/h” switch. The “more” pipe is needed if the output is longer than one screen.

Read the rest of this entry »





Linux essential shortcuts and sanity commands

30 09 2008

“From http://www.unixguide.net/linux/linuxshortcuts.shtml”

<Ctrl><Alt><F1>
Switch to the first text terminal. Under Linux you can have several (6 in standard setup) terminals opened at the same time.

<Ctrl><Alt><Fn> (n=1..6)
Switch to the nth text terminal.

Read the rest of this entry »





Essential commands for Linux network administration

30 09 2008

by Mark Rais, senior editor reallylinux.com

In this article, Mark Rais shares a list of those essential networking commands every beginning Linux administrator needs to know. Parts of this article originally appeared in the Linux+DVD Magazine, issue 1/2008.

Every Linux administrator needs a list of networking commands essential for effective server use. This article provides a summary of the most important or frequently used commands, and offers some tips for ensuring your server runs smoothly. Please keep in mind that these tips assume you already have a configured Linux hostname and IP, with a working network card and connection.

Read the rest of this entry »





Backup script ~ not tested yet

29 09 2008

I have written a shall script which creates a tar file
and scp to remote machine.
It is working fine if … I run this script manualy (./backup_agent.sh)

Read the rest of this entry »