10-08-2014
With cron jobs the best practice is to write everything as absolute path.
watch the missing `/' in #!/bin/bash
This User Gave Thanks to Aia For This Post:
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I am trying to write a script which emails the status of the job to the client. I am using bash script. I tried using mailx and the shell throws an error that 'command not found'. is mailx not supported in bash. Alternatively, is there any command that i can use for sending email in bash?
... (5 Replies)
Discussion started by: borncrazy
5 Replies
2. Shell Programming and Scripting
Dear unix forum members,
I'm working on a script that will parse a mail machine's logs and print a list of email addresses in this format:
sender@domain,recipient@domain
The logs look something like this:
06:50:04 0048317AC863: client=localhost.com
06:50:04 0048317AC863:... (7 Replies)
Discussion started by: jjamd64
7 Replies
3. Red Hat
Hello all,
I recently deleted some lines from the messages and secure files, in /var/log and now they are not keeping a log anymore. The last update shows the date of when I deleted the lines.
I had to delete some failed login attempts to stop denyhosts from blocking the ips (probably not the... (3 Replies)
Discussion started by: z1dane
3 Replies
4. Cybersecurity
Hello everyone. I'm a newbie and this is my first post, and I'm hoping to get some help understanding what happened on my server. I did as much research as I could, but now I turn to the forums for help :)
I've set up a VPS server and I "thought" I had good enough security on it, but all of a... (2 Replies)
Discussion started by: antondev
2 Replies
5. Shell Programming and Scripting
Dear unix forum members,
I'm working on a script that will parse a mail machine's logs and print a list of email addresses in this format:
authen@domain.com | sender@domain | recipient@domain
exam
account1@domain1.com | sender2@domain2.com |... (3 Replies)
Discussion started by: puka
3 Replies
6. Cybersecurity
Today the problem of hacking is increasing day by day so in this situation how can i secure my personal data and E-mail id? Please reply me soon. (1 Reply)
Discussion started by: andrepitt77
1 Replies
7. Solaris
How do i find if audit logs is secured inside Solaris 10?
· Verify that that audit log files are secured and owned appropriately.
this is the question (1 Reply)
Discussion started by: werbotim
1 Replies
8. Shell Programming and Scripting
Hi ,
I am trying to create shell script which will help me to compare file name in two folder.
There is a multiple file store in 2 folder.I want to compare that with the name.
If all the file are same then send a mail that "all date is same"
if not then create one log file which contain... (4 Replies)
Discussion started by: san_dy123
4 Replies
9. Shell Programming and Scripting
Hello,
I'm a beginner in shell scripting. I would really appreciate some help from the forum.
I want to write a small script that will look in apache error log. If it finds the appropriate word. It would execute some commands.
In my case the apache error log is situated in:... (2 Replies)
Discussion started by: ajaysingh99
2 Replies
10. UNIX for Beginners Questions & Answers
hello everyone,
I am new to linux and got this deliverable to write a script that should check for error in multiple log file (count is approx 2500 log files on single server) and once error is found, it should mail that error
My logic says:
we can put all log files path/location in one... (2 Replies)
Discussion started by: Pratik_CTS
2 Replies
LEARN ABOUT CENTOS
grub-render-label
GRUB-RENDER-LABEL(1) User Commands GRUB-RENDER-LABEL(1)
NAME
grub-render-label - generate a .disk_label for Apple Macs.
SYNOPSIS
grub-render-label [OPTION...] [OPTIONS]
DESCRIPTION
Render Apple .disk_label.
-b, --bgcolor=COLOR
use COLOR for background
-c, --color=COLOR
use COLOR for text
-f, --font=FILE
use FILE as font (PF2).
-i, --input=FILE
read text from FILE.
-o, --output=FILE
set output filename. Default is STDOUT
-t, --text=STRING
set the label to render
-v, --verbose
print verbose messages.
-?, --help
give this help list
--usage
give a short usage message
-V, --version
print program version
Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options.
REPORTING BUGS
Report bugs to <bug-grub@gnu.org>.
SEE ALSO
The full documentation for grub-render-label is maintained as a Texinfo manual. If the info and grub-render-label programs are properly
installed at your site, the command
info grub-render-label
should give you access to the complete manual.
grub-render-label (GRUB) 2.02-2ubuntu8.3 July 2018 GRUB-RENDER-LABEL(1)