05-02-2011
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi there,
i am very new in the unix sector. (i work on HP UX, an Sun Solaris)
i can write some simple scripts,.....
but now i will wirte a script with "mail".
i would like to send a pdf file to a mail recipient.
But if i try it with "mail -s "email@adress" < "filename(with path)" it... (3 Replies)
Discussion started by: scotty
3 Replies
2. UNIX for Dummies Questions & Answers
Please help.
I have a text file which looks something like this
aaa@abc.com, c:FilePath\Eaaa.txt
bbb@abc.com, c:FilePath\Ebbb.txt
ccc@abc.com, c:FilePath\Eccc.txt
ddd@abc.com, c:FilePath\Eddd.txt...so on
I want to write a shell script which will pick up the first field 'aaa@abc.com' and... (12 Replies)
Discussion started by: Amruta Pitkar
12 Replies
3. Shell Programming and Scripting
Hi all,
I am working on UNIX (Solaris28). I would like to send an email in which the body will be in html format and, in the same mail, a xls file has to be attached.
I have tried this: the file is correctly attached but the body comes as html source and not formatted. If I do not attach the... (4 Replies)
Discussion started by: stefan.yu
4 Replies
4. Shell Programming and Scripting
Hi all,
Could you please guide me to write the shell script, to send a multi file as a attachement .
Thanks
Murugesh (1 Reply)
Discussion started by: Murugesh
1 Replies
5. Shell Programming and Scripting
Hello,
I need a shell script which need to send a mail with 4 *.csv files as attachments.Anybody can help me?
At present i have a script which is sending only one file as attachments.But i need a script which send 4 files in a shot.
#!/bin/ksh
/bin/mail xxxx@xx.xom << EOF
Subject:... (4 Replies)
Discussion started by: Mar1006
4 Replies
6. UNIX for Advanced & Expert Users
hello ,
i m new to linux/unix , well in my college their is linux server to which we all (i and my frnds) login
, we can send mail to each other through command "mail" .
but any one can tell me how can i attached a binary file with mail.
we are using red hat , "pine ", "mailx" , all... (2 Replies)
Discussion started by: alert_every1
2 Replies
7. AIX
Hi,
Could anyone please help me to send multiple files of .csv format in one mail.
Thanks
Aj (2 Replies)
Discussion started by: atinjain05
2 Replies
8. Shell Programming and Scripting
Hi All,
Is there anyway we can send files as an attachment? I tried running uuencode but its giving an error as below:
$ uuencode Z1.txt Z1.txt |mailx -s "hi" abc@abc.com
ksh: uuencode: not found.
Null message body; hope that's ok
When i gave which command then it says there is no... (18 Replies)
Discussion started by: HemaV
18 Replies
9. Shell Programming and Scripting
Enclosed is comma separated text file. I need to write a korn shell program that will parse the text file and insert the values into Oracle database.
I need to write the korn shell program on Red Hat Enterprise Linux server.
Oracle database is 10g. (15 Replies)
Discussion started by: shellguy
15 Replies
10. Shell Programming and Scripting
Hi,
I want to send color text as body of mail with multiple attachments.How to do this?I used sendmailcommand but this command fails for multiple attachments.Give me some solution on this.
:wall: (0 Replies)
Discussion started by: AhmedLakadkutta
0 Replies
LEARN ABOUT DEBIAN
update-grub
update-grub(8) System Manager's Manual update-grub(8)
NAME
update-grub - program to generate GRUB's menu.lst file
SYNOPSIS
update-grub
DESCRIPTION
update-grub is a program used to generate the menu.lst file used by the grub bootloader. It works by looking in /boot for all files which
start with "vmlinuz-". They will be treated as kernels, and grub menu entries will be created for each. It will also create the initial
menu.lst if none exists, after prompting the user. It will also add initrd lines for ramdisk images found with the same version as kernels
found. e.g. /boot/vmlinuz-2.4.5 and /boot/initrd-2.4.5 will cause a line of "initrd=/boot/initrd-2.4.5 or similar to be added for the ker-
nel entry in the menu.lst.
After update-grub has been run for the first time, the user is required to edit the generated menu.lst. The user must set the two options
update-grub uses. Then re-run the update-grub script to update the menu.lst file using the default's that have been set.
These are the options passed to the linux kernel:
# kopt=root=/dev/hda1 ro
Everything after "kopt=" is passed to the kernel as parameters. See bootparam(7) for more information.
This is the grub device from which grub loads the kernel:
# groot=(hd0,1)
(hd0,1) is a partition in grub notation. See grub(8) for more information.
This option controls if grub should create the alternative boot options in the menu entries
# alternative=true
# alternative=false
This option controls if grub should lock the alternative boot options see grub(8) for more information.
# lockalternative=true
# lockalternative=false
This option controls if grub should lock the old kernels.
# lockold=true
# lockold=false
This options controls what is used for the alternative boot options, multiple altoptions lines are allowed.
# altoptions=(some description) some kernel command line options
# altoptions=(recovery option) single
The description is placed in '()' and the kernel command line options follow that.
# updatedefault=true
# updatedefault=false
This option controls if grub should update the default entry to keep booting the same kernel even if a new one is installed.
The update-grub script can be ran automagically from the /etc/kernel-img.conf file by adding the following lines:
postinst_hook = update-grub
postrm_hook = update-grub
do_bootloader = no
For further information related to /etc/kernel-img.conf, see the manpage kernel-img.conf(5).
SEE ALSO
grub(8), grub-install(8), kernel-img.conf(5) (contained in the kernel-package package), bootparam(7).
The full documentation for grub is maintained as a Texinfo manual in the grub-legacy-doc package. If the info and grub programs are prop-
erly installed at your site, the command
info grub
should give you access to the complete manual.
AUTHOR
This manual page was written by Jason Thomas <jason@debian.org>, for the Debian GNU/Linux system (but may be used by others).
Jason Thomas June 18, 2001 update-grub(8)