Which Linux distro are you using? (e.g. Ubuntu, Fedora, PCLinuxOS, etc.)
You need to install whatever you want to use. If you are using Fedora, you can install mutt with this command.
Either use su to become root or preceed the command with sudo if that's set up:
On Ubuntu, PCLinuxOS and some others use
Other distros use other commands.
Using uuencode directly seems a bit laborious these days, but when I executed the command yum search uuencode, Fedora returned uulib-devel. So maybe it's in that package.
Hi All,
I have general query that ...in my script i used uuencode
option like below.
cd /location
(cat test.txt
uuencode test.csv test.csv ) | mail -s "test mail" "mail_id"
but whenever i run the above command its giving error like below
./testscript.sh: uuencode not found:
... (1 Reply)
I want to read attachements sent to unix mail id and save the attachement in folder.
I may receive the mails from different mail clients(outlook, lotus ..etc).
Attachements are in CSV(comma saperate) format.
Let me know the shell script code for this.
Regards,
Venkat (1 Reply)
Hi
I tried reading docs from this forum and googled it...but i couldnt get the answer for attaching a document in mail.
I need it to be the actual attachement not adding the content of the file to the body of the mail..
i used uuencode ...to encode the file but it is coming as a junk... (4 Replies)
Can't attach text files to 'mail' command. I dont have mutt or mailx to use on my server. so i have to use mail command
any help would be great.
Regards,
Kiran (1 Reply)
Hi ,
I am using the below code to send mail through a script which run as a cron job.
msgdate=`date +"%a, %e %Y %T %z"`
daemail=$(cat <<!
From: $from
To: $emailtarget
Subject: $subject
Mime-Version: 1.0
Content-Type: multipart/mixed;
Content-Disposition: inline
$priority
$CONTENT
!)... (2 Replies)
Hello,
I am writting a script, which gets folder and search for *.zip files in to it.
If .zip files are available, then UNZIP all files into that folder only.
Here is my code,
for file in "$INPUT_FILE_FOLDER/"*.zip
do
unzip -d "$INPUT_FILE_FOLDER/" -oqq $file
done
If .zip files are... (2 Replies)
Dear Friends,
I am trying to move the files which are listing after greaping command.
see the details below
1. When i am running the grep command
$ grep -il 'Bufman' *.*
fatal.log
fatal_info.log
it has listed some files now i want to move this files to any another locate so i am... (13 Replies)
Hi Team,
I am using one script, It is working fine, the problem is it gives unwanted telnet errors when I am using it.
I just want to remove these unwanted errors/info from my screen.
bash-3.00$ cat raza_site_temp
#!/usr/bin/bash
#rj835b
IFS="|"
REGEX="$*"
echo
snarf2 -c "show... (1 Reply)
Dear All,
I created a small script to get the CPU, GIS usage etc automatically. However when i run this script manually its working , but when i run through cronjob i am not getting any output.
Can anyone please help me on this. I am using SuseLinux.
Thank you in advance.
#!/bin/sh
{... (2 Replies)
I am having an issue sending a text file as an attachment. It is an oracle sql report generated as text. The file is formatted fine. However, when it is emailed and opened in notepad it is missing new lines and not not formatted properly. It is on solaris 10. Here is my code:
#! /bin/ksh... (1 Reply)
Discussion started by: mrn6430
1 Replies
LEARN ABOUT CENTOS
yum-versionlock
YUM-VERSIONLOCK(1) User Manuals YUM-VERSIONLOCK(1)NAME
yum-versionlock - Version lock rpm packages
SYNOPSIS
yum-versionlock [ package-name [ package-name]] ...
DESCRIPTION yum-versionlock(1) is a Yum plugin that takes a set of name/versions for packages and excludes all other versions of those packages
(including optionally following obsoletes). This allows you to protect packages from being updated by newer versions.
The plugin provides a command "versionlock" which allows you to view and edit the list of locked packages easily.
yum versionlock add <package-wildcard>...
Add a versionlock for all of the packages in the rpmdb matching the given wildcards. yum versionlock exclude <package-wildcard>...
Add a exclude (within versionlock) for the latest versions of the packages in the available repos. matching the given wildcards. yum ver-
sionlock list
List the current versionlock entries. yum versionlock delete <entry-wildcard>...
Remove any matching versionlock entries. yum versionlock clear
Remove all versionlock entries.
FILES
/etc/yum/pluginconf.d/versionlock.conf
The system wide configuration file. See yum-versionlock.conf(5) for more information.
/etc/yum/pluginconf.d/versionlock.list
The default place to put package version lock information (one package and version per. line). The file takes entries in the follow-
ing format EPOCH:NAME-VERSION-RELEASE.ARCH See rpm(8) for more information on custom query formats. If the package does not have an
EPOCH the number will default to 0.
BUGS
There are of course no bugs, but should you find any, you should first consult the FAQ section on http://yum.baseurl.org/wiki/Faq and if
unsuccessful in finding a resolution contact the mailing list: yum-devel@lists.baseurl.org. To file a bug use http://bugzilla.redhat.com
for Fedora/RHEL/Centos related bugs and http://yum.baseurl.org/report for all other bugs.
AVAILABILITY
yum-versionlock is available via:
# yum install yum-versionlock
AUTHORS
Panu Matilainen <pmatilai@laiskiainen.org>
James Antill <james@and.org>
Documentation modified by:
Gerhardus Geldenhuis <gerhardus.geldenhuis@gmail.com>
SEE ALSO yum(1)
28 December 2009 YUM-VERSIONLOCK(1)