Search Results

Search: Posts Made By: vertigo23
4,539
Posted By vertigo23
NIS Group Lookup Problem
I'm running a NIS on an network of Ubuntu 8.04 linux systems. I'm seeing a weird problem where the 'id' command is not returning all the groups I am a member of. For example:


alex@client $ id...
Forum: Linux 09-28-2009
4,696
Posted By vertigo23
That shows me what options *can be set*, but not...
That shows me what options *can be set*, but not what options, *have been* set.
Forum: Linux 09-25-2009
4,696
Posted By vertigo23
Modprobe problem
I'm trying to get a watchdog module working on a server. (Watchdog timers are little hardware devices that reboot the system if it becomes unresponsive.) The module takes some options like the...
6,711
Posted By vertigo23
Hah! That did it - thanks Ikon!!
Hah! That did it - thanks Ikon!!
6,711
Posted By vertigo23
That just runs "date" immediately and sticks the...
That just runs "date" immediately and sticks the output into the variable CMD. I want to be able to craft a longer command out of several variables, and then run it multiple times.
6,711
Posted By vertigo23
$ DATE="last tuesday" $ CMD="date...
$ DATE="last tuesday"
$ CMD="date --date=\"+$DATE\""
$ $CMD
date: the argument `tuesday"' lacks a leading `+';
When using an option to specify date(s), any non-option
argument must be a format...
6,711
Posted By vertigo23
Escaping embedded variables
I'm running into a problem with a differential backup script written in GNU Bash 3.0 - the following stripped down code demonstrates the problem quite nicely.


$ DATE="last tuesday"
$ date...
3,173
Posted By vertigo23
Actually, that should do the trick nicely -...
Actually, that should do the trick nicely - adding a forwarding zone for the external DNS. Thanks for the pointer!
3,173
Posted By vertigo23
Different Nameservers for Different Domains?
I have a system that is connected to a private network with its own DNS (call it "privnet."), and is also connected to the Internet on a separate interface.

Is it possible to convince this server...
306,645
Posted By vertigo23
nohup
You can run your command with `nohup' - this will cause it to ignore all input and send its stdout (and stderr?) to the file "nohup.out" in your cwd. After you've run your command, you can...
Forum: IP Networking 02-19-2008
5,315
Posted By vertigo23
Dd Wrt
You should definitely look at the DD-WRT project or at OpenWRT - both of these are embedded linux distributions that are designed to install onto a standard wireless router such as a linksys wrt54g,...
2,945
Posted By vertigo23
Sendmail retries sending to non-existant users
How can i get sendmail to immediately bounce mail when the server on the other side gives a "550 unknown user" SMTP error? Currently, the outbound mail stays in the queue and is retried until our...
2,463
Posted By vertigo23
X errors
I'm trying to set up x2x between my desktop and laptop, and as a precondition to that, I'm just trying to get each to be able to display programs on the other (e.g. "desktop$ xterm -display...
3,032
Posted By vertigo23
Qmail requiring SMTP auth
Has anyone gotten netqmail patched with qmail-smtp-auth to not just allow, but require ESMTP authentication? I'm in the processes of setting up a port 587 (submission) server for my remote users to...
Forum: Linux 11-03-2005
4,406
Posted By vertigo23
On most linuxes, you can append the command to...
On most linuxes, you can append the command to /etc/rc.local
2,375
Posted By vertigo23
a little more succintly, and taking advantage of...
a little more succintly, and taking advantage of perl's advanced regular expressions:


if ($var1 =~ m#[-\w/\.]+$#) {
# do stuff
} else {
# other stuff
}


in perl regexps, \w will...
Forum: IP Networking 10-26-2005
6,088
Posted By vertigo23
DHCPD, Multiple interfaces, Single Subnet
I have an OpenBSD 3.7 firewall with five network interfaces on it, one of which is connected to the Internet. I'd like to use the remaining four interfaces as a network switch for a single internal...
1,806
Posted By vertigo23
Or, if that's too slow or you run into "No such...
Or, if that's too slow or you run into "No such file or directory" errors, try this:

find / -type f | while read file; do
grep -l SCHD "$file"
done
1,806
Posted By vertigo23
find / -type f | xargs grep -l SCHD
find / -type f | xargs grep -l SCHD
21,622
Posted By vertigo23
find /folder/path -name "*.html" -or -name...
find /folder/path -name "*.html" -or -name "*.xml" | xargs grep ABC

or, if you run into errors due to space characters in the filename:

find /folder/path -name "*.html" -or -name "*.xml"...
Forum: IP Networking 10-21-2005
23,754
Posted By vertigo23
While Perderabo is right about the myriad of...
While Perderabo is right about the myriad of configurations a given box can have, on just about every Unix I've dealt with, 'ifconfig -a' will list the configuration, including IP address, for all...
7,353
Posted By vertigo23
If you have GNU File installed, it will tell you...
If you have GNU File installed, it will tell you in a nice human readable output.


$ file test.txt
test.txt: ASCII text
$ vi test.txt # :set ff=dos
$ file test.txt
test.txt: ASCII text,...
7,797
Posted By vertigo23
Perl solution
Dunno if it's the most concise, but it's what I came up with. Fun problem :p


#!/usr/bin/perl -w

$si=$ARGV[0];

$s=$si%60;
$m=(($si%3600)-$s)/60;
$h=$s/3600;
$h=~s/^(\d+).*/$1/;
...
Forum: IP Networking 10-17-2005
3,069
Posted By vertigo23
Interesting -- how do you deal with slave servers?
Interesting -- how do you deal with slave servers?
Forum: IP Networking 10-12-2005
3,069
Posted By vertigo23
BIND question
Suppose you had a bunch of domains registered with names following the scheme, 11example.com 22example.com 33example.com etc. These domains are all for virutal webhosting, and will have the same web...
Showing results 1 to 25 of 74

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