Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: redhead
1,484
Posted By redhead
Give an example of what the filenames are, is...
Give an example of what the filenames are, is there anything that will identify the filenames?
If you are just looking for files containing a dot, you might run into problems with false positive.
...
1,795
Posted By redhead
which is exactly why it is extensively used in...
which is exactly why it is extensively used in combination with grep, in order to make it work no matter what teh underlying system supports in the ps command.
7,489
Posted By redhead
The issue here is to delete any \r char in the...
The issue here is to delete any \r char in the file, since windows uses \r\n and unix only accepts \n, the sed/tr/vi commands tries to acomplish the same effect on the file, to delete the \r char...
Forum: Programming 04-24-2011
1,642
Posted By redhead
Yes, S is for assembly, the head.S is the x86...
Yes, S is for assembly, the head.S is the x86 startup code for the kernel.
1,186
Posted By redhead
youre deleting the quotes surrrounding the...
youre deleting the quotes surrrounding the string.
perhaps you should think of exchanging the spaces with "\ " so you wont have to take into account how the single quotes affects double quotes in a...
4,449
Posted By redhead
perhaps you should try: while (my...
perhaps you should try: while (my $LINE=<MY_FILE>){
# Adds leading zeros for numbers 1 digit long
2,861
Posted By redhead
tail -f, will always be "stuck", it opens the...
tail -f, will always be "stuck", it opens the file and displays in realtime what is beeing written to it, at times when nothing is written it is "stuck", but you wont be able to identify these type...
4,146
Posted By redhead
They only hold read permission for the group,...
They only hold read permission for the group, it's only the ovner who has write permission, which is required in order to delete a file.

Either the user needs to additionaly set group +w, or you...
4,146
Posted By redhead
What is the permission on the file ? Even...
What is the permission on the file ?

Even tho the directory permission accepts deletion within the group, the permission on the file itself might not.
5,858
Posted By redhead
$fname is your read directory, it is not the...
$fname is your read directory, it is not the filename to monitor, the filename to monitor will be stored in $i within your for loop.
SO it should be:echo "please enter the file you wish to monitor";...
5,858
Posted By redhead
You want to create several instances of the...
You want to create several instances of the monitor program each looking at a different file found in the directory given as an argument to the script ?

ie:#!/bin/sh

if [ -d $1 ]; then
for i...
5,163
Posted By redhead
Why not monitor the latest time stamp on the...
Why not monitor the latest time stamp on the logfile, it will tell you when it's last been modyfied, if it differs from last check, then there are some lines that has been written to it, tail them...
Forum: Red Hat 03-12-2010
9,377
Posted By redhead
If you're not depending on something added from...
If you're not depending on something added from RH addition to drivers and such, just fetch the vanilla kernel source from ftp.kernel.org convinient located at linux-2.6.33...
Forum: Red Hat 03-12-2010
9,377
Posted By redhead
You need to enable FUSE in the kernel config and...
You need to enable FUSE in the kernel config and compile a new kernel.
It can be found in menuconfig as:
Forum: Programming 03-10-2010
1,577
Posted By redhead
That is for you to learn in CS class.
That is for you to learn in CS class.
Forum: Programming 03-05-2010
1,702
Posted By redhead
if (MESSAGESIZE < 0) How will that ever be true ?...
if (MESSAGESIZE < 0) How will that ever be true ?

You might want to reconsidder this partbzero(msg, MESSAGESIZE);
numbytes = read(sockfd, msg, MESSAGESIZE);
if (MESSAGESIZE < 0) ...
Forum: IP Networking 03-05-2010
2,455
Posted By redhead
So it's a connection from localhost to localhost...
So it's a connection from localhost to localhost ??
The only time I've seen port 9325 beeing malicius is as UDP port, where the Mstream trojan uses it.

Problems would arrise when it was a...
2,921
Posted By redhead
Check if the second box is allowing mailing...
Check if the second box is allowing mailing outside of the internal mailhandlers.
Since they're virtualy the same, chances are the first one allows routing to the outside, where teh second one has...
2,797
Posted By redhead
The only way to test your upload/download speed...
The only way to test your upload/download speed is to download/upload something from somewhere thats pretty close to you and has enough bandwith to never bee the bottleneck for you, so you're sure to...
Forum: Linux 03-05-2010
6,887
Posted By redhead
Muthuselvan, it sounds like you're into cracking,...
Muthuselvan, it sounds like you're into cracking, which is not what this board is about, should this be the case, please take your issue elsewhere.

Should you be searching, the correct area you're...
53,290
Posted By redhead
I had to pic FVWM, it is the most lightweight and...
I had to pic FVWM, it is the most lightweight and configurable one I've yet to find.

Started out as a TWM mainiac, and the next choice was FVWM, been stuck there ever since.
Forum: Red Hat 03-05-2010
3,168
Posted By redhead
I think you're not quite sure what the entrances...
I think you're not quite sure what the entrances in your routing table stands for, so lets take them step by step.
10.155.24.0 0.0.0.0 255.255.252.0 U 0 0 0 eth0is...
Forum: Linux 03-05-2010
2,656
Posted By redhead
Perhaps you could try something like:
Perhaps you could try something like:
4,936
Posted By redhead
something like: RET=`/usr/sbin/tcpdump -i...
something like:

RET=`/usr/sbin/tcpdump -i ... -c 1`
echo $RET
notice the ` instead of '
Forum: Linux 12-22-2009
2,660
Posted By redhead
Use nmap ie: # nmap -p23 <range of...
Use nmap ie:

# nmap -p23 <range of hosts>
Showing results 1 to 25 of 91

 

Featured Tech Videos

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