Search Results

Search: Posts Made By: dude2cool
2,949
Posted By dude2cool
grep w$'\xC3\xBC'rzburger /tmp/2 würzburger ...
grep w$'\xC3\xBC'rzburger /tmp/2
würzburger

cat /tmp/2:

wcrzburger
würzburger
wcrzburger
Forum: OS X (Apple) 12-27-2011
9,727
Posted By dude2cool
Try this, it should help. Atleast with this any...
Try this, it should help. Atleast with this any mail to root should stay local:

Delivering some but not all accounts locally
3,263
Posted By dude2cool
I think ctsgnb already mentioned this in his...
I think ctsgnb already mentioned this in his post, but try to see if the sort on your OS, support the "-T" option.
Also post output from df -k /tmp. Looks like you are running out of space in /tmp....
2,661
Posted By dude2cool
This looks like a good thread to start. Hope this...
This looks like a good thread to start. Hope this helps:

Deleting files older than 14 days using Batch file script - Dev Shed...
2,537
Posted By dude2cool
Try this and you will know what it does :) ...
Try this and you will know what it does :)

echo "/ab/abc/abcd"| sed 's,/.*/,,'
29,495
Posted By dude2cool
try gzip -l file.gz From man gzip:
try gzip -l file.gz

From man gzip:
1,355
Posted By dude2cool
Something like this: cd /test/log && head...
Something like this:

cd /test/log && head -15 <`ls -rt /test/log|tail -1`
Forum: OS X (Apple) 12-18-2011
9,727
Posted By dude2cool
since just a simple setup, this is what I would...
since just a simple setup, this is what I would try.

I would make the .fetchmailrc as follows and it should work for the local user

also post the fetchmail log for relevant entries.


There...
3,002
Posted By dude2cool
Maybe this will help: ...
Maybe this will help:
https://help.ubuntu.com/community/SwapFaq

To look for your swap partition

grep swap /etc/fstab
11,935
Posted By dude2cool
Try this: $ gawk 'NR==FNR{ a[$1] += $3;...
Try this:


$ gawk 'NR==FNR{ a[$1] += $3; b[$1]++} NR!=FNR{ for(key in a) {if($1==key)print key,a[key]/b[key]}}' /tmp/1 /tmp/2
Mam189 72.4167
Mam426 78.6133

I used the following sample files:
2,586
Posted By dude2cool
Use: ssh -n ${server} "hostname" or ...
Use:

ssh -n ${server} "hostname"

or

ssh ${server} "hostname" </dev/null
Forum: AIX 12-13-2011
4,287
Posted By dude2cool
Looking at the logs, so cron definitely did not...
Looking at the logs, so cron definitely did not run it. See what happens tonight.
Forum: Solaris 12-12-2011
7,937
Posted By dude2cool
Try metaclear d3
Try

metaclear d3
Forum: Solaris 12-11-2011
3,104
Posted By dude2cool
Maybe this will help, try this: Running UNIX...
Maybe this will help, try this:

Running UNIX Solaris 10 mount point permissions are important (http://www.runningunix.com/2008/05/solaris-10-mount-point-permissions-are-important/)
Forum: Red Hat 12-06-2011
13,566
Posted By dude2cool
From man iptables: So this will work if...
From man iptables:


So this will work if the ip's you want to add are contigous, so that they form a range.

So in your case --src-range 10.111.111.22-10.111.111.23
Forum: IP Networking 12-04-2011
6,048
Posted By dude2cool
Hopefully this helps: blackbyte's corner:...
Hopefully this helps:

blackbyte's corner: vsftpd passive mode & iptables (http://www.krzalic.com/2011/09/vsftpd-passive-mode-iptables.html)
3,638
Posted By dude2cool
Here is some information on how to use /proc to...
Here is some information on how to use /proc to look at a process:

Exploring procfs LG #115 (http://linuxgazette.net/115/nirendra.html)

Not sure if this helps, but post some more specifics on...
Forum: SuSE 12-02-2011
23,041
Posted By dude2cool
why don't you try this , comment out the...
why don't you try this , comment out the GHELPDESK line and replace it with:

test my-mnag0 = (root) /usr/sbin/viudo

or define your host_alias to be my-mnag0 instead of...
Forum: Hardware 11-29-2011
2,427
Posted By dude2cool
Don't think a single url is going to cover all of...
Don't think a single url is going to cover all of your topics :), but here is a url on threads:

Ask Ars: what is a CPU thread?...
3,070
Posted By dude2cool
Remove the echo in front of the "mv" command. ...
Remove the echo in front of the "mv" command.

echo mv temp "$line" should read as mv temp "$line"
1,086
Posted By dude2cool
awk '{if ($0 ~ "Port Index:"){a=$3} else {a=""}}...
awk '{if ($0 ~ "Port Index:"){a=$3} else {a=""}} \
{if ($0 ~ "Permanent Port") {b=$0;}} \
{if( $0 ~ "NodeSymb:"){gsub(/"/,"",$7);c=$7}} \
{if (a != "")print "Port:", a, b, c}' /tmp/<your-filename>...
6,981
Posted By dude2cool
Hmm, unless they changed the way you set TZ in...
Hmm, unless they changed the way you set TZ in rhel 6, I just tried it on rhel 5.x and it works for me, here is the output from the script I gave above:


# /tmp/12.sh
HSBC : Tue Nov 1 01:51:05...
2,349
Posted By dude2cool
echo "this is-a hyphen,oh oh one more-hyphen"|sed...
echo "this is-a hyphen,oh oh one more-hyphen"|sed -r 's/(.*-.*)-/\1 /'

output:

this is-a hyphen,oh oh one more hyphen
5,424
Posted By dude2cool
Try this: On your AIX host, at shell type...
Try this:

On your AIX host, at shell type this:

cat >/tmp/filename.txt

Your cursor should now be on the next line waiting for input, paste from windows right into the shell. Once you are...
Forum: Red Hat 10-29-2011
2,448
Posted By dude2cool
Try this: Allow A Normal User To Run Commands...
Try this:
Allow A Normal User To Run Commands As root Under Linux / UNIX Operating Systems (http://www.cyberciti.biz/tips/allow-a-normal-user-to-run-commands-as-root.html)
Showing results 1 to 25 of 60

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