Find the answer to your Linux question:
Results 1 to 2 of 2
Hi Experts, While migrating to Sun solaris to linux it is obeserved that mailx command doesn't supported on linux, we have to use mail command. I have scripts where we ...
  1. #1
    Just Joined!
    Join Date
    Jul 2011
    Posts
    1

    Question Need help for "mailx" command at linux

    Hi Experts,
    While migrating to Sun solaris to linux it is obeserved that mailx command doesn't supported on linux, we have to use mail command.
    I have scripts where we used mailx command with -t option.

    Can anybody help me is there any equivalent for mailx -t in linux?

  2. #2
    Just Joined!
    Join Date
    Jun 2011
    Posts
    30

    Post

    I have no experience with Sun Solaris, but Fedora supports mailx and also the option -t (see man mailx). If you haven't 'mailx', then you can install it with '$> yum install mailx'.
    btw: the 'mail' command is a symbolic link to 'mailx' ($> ls-l /bin/mail*).
    The Fedora 'mailx' is an enhanced mail command, which provides the functionality of the POSIX mailx command, as well as SysV mail and Berkeley Mail (from which it is derived).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...