Search Results

Search: Posts Made By: raggmopp
13,353
Posted By raggmopp
Mutt for html body and multiple html & pdf attachments
Hi all:

Been racking my brain on this for the last couple of days and what has been most frustrating is that this is the last piece I need to complete a project.

There are numerous posts...
4,786
Posted By raggmopp
Doesn't matter who's account the cronjob is from....
Doesn't matter who's account the cronjob is from. Cron has only a minimal environment. You need to make sure the ENV is set for cron as well.

I believe I also see time differences.

The cron...
1,169
Posted By raggmopp
Passing user argument
Hi all:

I'm trying to pass an argument to a command but it's being difficult.

#!/bin/bash
set -xv

if [ "$#" -gt 1 ]; then
echo "More than 1 argument entered"
echo "Please enter a...
2,354
Posted By raggmopp
How many DNS queries
Is there any way to see how many queries come into our external DNS server? In looking at DNS providers, most of them base pricing on number of queries per month so I just wanted to see if you had...
Forum: Red Hat 08-15-2012
10,508
Posted By raggmopp
Don't comment the line. Put in a negate...
Don't comment the line.

Put in a negate character so it looks like so;
Defaults !requiretty
25,867
Posted By raggmopp
Here is an answer I submitted yesterday. This is...
Here is an answer I submitted yesterday. This is a cut&paste of that answer.
The application is different but the functions of what you are looking for are the same.
HIH


For the 'no tty...
17,430
Posted By raggmopp
For the 'no tty present', open up your sudoers...
For the 'no tty present', open up your sudoers file and look for a line that says

Change it so the requiretty has the negate character in front. Make it look like

Notice the exclamation...
Forum: Open Source 08-13-2012
422,938
Posted By raggmopp
Almost is not absolute. Yes I have seen...
Almost is not absolute.

Yes I have seen systems without it as well, but they typically deselect or remove after the fact. And then again, just change the perms on the vi executable and it is...
Forum: AIX 08-13-2012
3,609
Posted By raggmopp
Does it have to be NFS mount in order to copy the...
Does it have to be NFS mount in order to copy the file? NFS is not always the best way to go.

Can you use other utilities such as 'scp' or 'rsync' to name a couple? If you have mixed up versions...
6,041
Posted By raggmopp
Using the limited info you provided, your...
Using the limited info you provided, your connection would be to the [share], so the connection syntax would be;

\\192.168..1.6\share

The version of win (XP vs 7 vs Vista) and the version of...
2,430
Posted By raggmopp
Not sure but does AIX have the 'time' command? If...
Not sure but does AIX have the 'time' command? If so, preface your command with the time command
time <your command>
This will provide the system time, the user time and the total time.
3,277
Posted By raggmopp
There could be limitations based on your kernel...
There could be limitations based on your kernel settings, network settings, system load, etc. At a minimum usage and low load levels, probably not. But the question will be asked - WHY? I believe...
4,959
Posted By raggmopp
Unsent mail stays on a system (unless somebody...
Unsent mail stays on a system (unless somebody deleted it), I believe it is in /var/spool/mail. If all you want is to get the mail off the system just grab those files. It could be a lot of work as...
9,429
Posted By raggmopp
True, pax SHOULD be available. But sometimes it...
True, pax SHOULD be available. But sometimes it is not.
I think some distros install by default and some don't. With cpio it is always installed by default.

I have been using pax for years on...
9,429
Posted By raggmopp
You can also use the cpio command in conjunction...
You can also use the cpio command in conjunction with find. This keeps the perms, time stamps, owners/group, links, etc. This option is independent of OS distro and/or version.

Begin by placing...
3,619
Posted By raggmopp
If you can put a remote console card in the...
If you can put a remote console card in the system.

For Dell this would be iDRAC
HP would be iLO

You can do cold power off, come back later when you feel like it and power on.

If your HW...
5,196
Posted By raggmopp
Creation date - take that with a grain of salt. A...
Creation date - take that with a grain of salt. A file will have the creation date (if you want to call it that) if the file has never been modified. Example, create a file with something in it. Now,...
1,820
Posted By raggmopp
Seeing that both jane and jules are in the same...
Seeing that both jane and jules are in the same group;

chmod g+s <dir name>setting the sticky bit, aka, groupid, for the directory.
This forces the subdirectories and files to inherit the group...
5,196
Posted By raggmopp
Yes, you can include the option(s) to find that...
Yes, you can include the option(s) to find that allow you to sort alphabetically, numerically, chronologically, etc. Example, you may be looking for files between 45 days and 90 days and you want...
Forum: Open Source 08-05-2012
422,938
Posted By raggmopp
vi (or vim) isn't necessarily my preference but I...
vi (or vim) isn't necessarily my preference but I am almost assured that it will exist on whatever UN*X distro. Unless it was removed (why would they do that? I don't know but I have seen it...
5,196
Posted By raggmopp
Is the find command of any use? cd /<your...
Is the find command of any use?

cd /<your subdir>
find . -depth -type f

This find command will just list the files. From here you can -exec your touch command.

find . -depth -type...
4,830
Posted By raggmopp
parse a log file and remember last line
Hi all:

I'm working on a HPUX 11.23 system and I am needing to parse a tomcat-jakarta log file for memory use. Getting the desired data is easy, assuming the log file does not grow. This file...
2,054
Posted By raggmopp
parsing multi-date text file
Hi all:

Trying to parse a log file of rsync activity to get the amount of date being transferred. The log file contains multiple dates and what I am trying to do is get the file sizes for the...
2,680
Posted By raggmopp
Many thanks to both of you. radoulov did the...
Many thanks to both of you. radoulov did the trick.
2,680
Posted By raggmopp
Kinda, sorta. The '_' delimiter is only picking...
Kinda, sorta. The '_' delimiter is only picking up the ckpt, lgwr, pmon, smon, etc processes. Not getting the connections (LOCAL=). The format of the output is crucial as well since I am wanting to...
Showing results 1 to 25 of 26

 
All times are GMT -4. The time now is 08:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy