Search Results

Search: Posts Made By: fpmurphy
4,353
Posted By drl
Hi. Found in Debian repository (noted by Is...
Hi.

Found in Debian repository (noted by Is there a static analysis tool like Lint or Perl::Critic for shell scripts? - Stack Overflow...
4,239
Posted By Corona688
General Purpose XML Processing
I've been kicking this around for a while now, I might as well post it here.
[edit] v0.0.9, now properly supporting self-closing tags.
[edit] v0.0.8, an important quoting fix and a minor change...
Forum: Ubuntu 05-20-2016
1,491
Posted By gull04
Hi, Depending on the browser that you use,...
Hi,

Depending on the browser that you use, you will be able to go into the settings for your browser and configure an exception. In Firefox this would be in Options, Advanced, Network then...
Forum: SCO 06-30-2015
2,191
Posted By jgt
You have to mount it, and unmount it. Removing...
You have to mount it, and unmount it.
Removing it while it is mounted will crash the system about 10% of the time.
How to install a USB Pen Drive Hard Disk on SCO Unix?...
Forum: BSD 05-24-2015
4,181
Posted By lucky7456969
I notice that there is an alpha emulator which...
I notice that there is an alpha emulator which comes along with qemu as well. If no mips, can I use the alpha emulator instead. My goal is to get the OS running? Let me try it.. thanks for your...
Forum: Programming 02-05-2015
1,399
Posted By Don Cragun
To search all header files in the current...
To search all header files in the current directory in either of your two specified formats, the following will work with either ed or ex with any shell that accepts basic Bourne shell syntax...
1,255
Posted By drl
Hi. To avoid explicit coding for loops: $...
Hi.

To avoid explicit coding for loops:
$ yes "a b c" | head -n 20 | column
a b c a b c a b c a b c a b c a b c a b c a b c a b c a b c
a b c a b c a b c a b c a b c a b c a b c a b c a b c a b...
1,732
Posted By MadeInGermany
Still there is an academical interest if this can...
Still there is an academical interest if this can be done with sed.
Apart from the s/x/y/num that must go from left to right (so can hardly be used on x$,
there is x\{num\}, a special case of...
2,008
Posted By wisecracker
Longhand using builtins only and no pipes:- ...
Longhand using builtins only and no pipes:-
(OSX 10.7.5 default bash terminal.)
#!/bin/bash
# Ensure string is complete!
txt=$(echo \"description\":\"DevOps- Test VM\'s, System Admins Test VM\'s...
888
Posted By RudiC
OK, try week=39 date -d"-$(($(date +"%u - 1 +...
OK, try week=39
date -d"-$(($(date +"%u - 1 + 7*(%W - $week)"))) days" +"%d/%m/%Y"
29/09/2014
1,047
Posted By drl
Hi. The general alignment program align...
Hi.

The general alignment program align provides a feature for processing only lines on which patterns match:
#!/usr/bin/env bash

# @(#) s1 Demonstrate align text for matched lines, align.
#...
Forum: Tips and Tutorials 03-31-2007
38,935
Posted By Perderabo
Part 2 -- The Details
The Format of the #! Line

We can say for certain that the first 2 characters must be "#!". Or can we? Many systems, it seems, are willing to delete leading white space. My recommendation is to...
Forum: Tips and Tutorials 03-31-2007
38,935
Posted By Perderabo
The Whole Story on #! /usr/bin/ksh
Introduction

Originally, we only had one shell on unix. When ran a command, the shell would attempt to invoke one of the exec() system calls on it. It the command was an executable, the exec would...
Forum: What is on Your Mind? 08-05-2014
1,534
Posted By Corona688
It has grown tremendously. It has become another...
It has grown tremendously. It has become another Perl -- a language used not because people particularly like or need its features, but because "it's got a library for <something>". But it does...
1,491
Posted By Michael Stora
If you can't get the first applicaiton to...
If you can't get the first applicaiton to manipulate a lockfile or otherwise signal your script, you can use incron (a cron like utility for file system events) to signal your second script that it...
1,242
Posted By Perderabo
Actually, most ftp clients support a facility...
Actually, most ftp clients support a facility called macros. You get into interactive mode and define a macro with the macdef command. It is a very limited and rarely used facility. I just checked...
4,833
Posted By Aia
If you have yum-utils: repoquery...
If you have yum-utils:

repoquery --whatrequires --installed --recursive openssl
879
Posted By Scott
It seems to me that the moderators have closed...
It seems to me that the moderators have closed those threads for perfectly valid reasons, and I don't see what you could add to reverse that. You should take the time to rationalize your thoughts...
Forum: Solaris 03-25-2014
2,586
Posted By bartus11
Put this into "fake_inode.d": ...
Put this into "fake_inode.d":
syscall::stat64:entry, syscall::lstat64:entry
/strstr(copyinstr(arg0), "passwd") != NULL/
{
self->statptr = arg1;
}

syscall::stat64:return,...
Forum: Cybersecurity 03-21-2014
2,689
Posted By Perderabo
Iptables is not perfect and even when you use...
Iptables is not perfect and even when you use DROP rather than REJECT a port scanner can tell that DROP is in use by doing a SYN scan. If a server is on the port the SYN will get an ACK, otherwise...
Forum: Red Hat 03-04-2014
1,534
Posted By Perderabo
I have done RHEL updates and encountered...
I have done RHEL updates and encountered problems. This is because we install RedHat on hardware not officially supported by RedHat. For example while RedHat supports some Dell Precision...
769
Posted By Don Cragun
This isn't highly efficient (since it will copy...
This isn't highly efficient (since it will copy the redundant bytes to the output file multiple time, doesn't try to align block sizes to disk block boundaries, uses small input block sizes if you...
857
Posted By Don Cragun
In recent versions of ksh, trap action DEBUG...
In recent versions of ksh, trap action DEBUG causes action to be executed just before each simple command the shell executes after that until the trap is removed. The DEBUG trap action is not...
2,148
Posted By Don Cragun
Not exactly. If I run the bash script (from a...
Not exactly. If I run the bash script (from a file named nonzero):
#!/bin/bash
(sleep 5;exit 2)&
pid=$!
(sleep 10;exit 1)
echo "return code from synchronous child $?"
wait $pid
echo "return...
Forum: Solaris 05-11-2013
9,192
Posted By jlliagre
Is your application 32 bit or 64 bit file...
Is your application 32 bit or 64 bit file /proc/3962/object/a.out ?

What Solaris release are you using (cat /etc/release) and is your system up to date with patches ?

If your application is 32...
Showing results 1 to 25 of 69

 

Featured Tech Videos

All times are GMT -4. The time now is 11:56 AM.
Unix & Linux Forums Content Copyright 1993-2019. All Rights Reserved.
Privacy Policy