Search Results

Search: Posts Made By: dejavu88
6,239
Posted By dejavu88
well.. that's the problem. One thing you can do...
well.. that's the problem. One thing you can do it re-adding the apache user manually. I'm not sure if this fixes your sync problem, but it should fix the error you mentioned.

/sbin/service httpd...
9,736
Posted By dejavu88
Is there no way to exclude certain files to be...
Is there no way to exclude certain files to be shared inside to home folder?

Another way to solve your problem is to create a userhome root in a different root directory. e.g /usr/var/home and do...
9,736
Posted By dejavu88
Did you actually try what the others said? Public...
Did you actually try what the others said? Public key authentication should do what you want. When you don't set a passphrase while setting up public key authentication, it won't ask for one when you...
6,239
Posted By dejavu88
Isn't the error message from the httpd server the...
Isn't the error message from the httpd server the problem?

apachectl: ...............httpd: bad user name apache

Double check if there is a user called "apache" in your /etc/passwd file.
Forum: Cybersecurity 06-23-2008
2,307
Posted By dejavu88
The fingerprint only identifies the remote host...
The fingerprint only identifies the remote host as the host you want to connect to. So that the next time you connect, you wouldn't get this message to save the fingerprint into the known_hosts file....
5,399
Posted By dejavu88
Just found a more efficient way to make the...
Just found a more efficient way to make the script do what it needs to do.

Thanks.
5,399
Posted By dejavu88
I only stripped the last two html tags with a bit...
I only stripped the last two html tags with a bit of code Franklin52 wrote for me in another post. So my script is able to add new log information and then put back the last two html tags after the...
5,399
Posted By dejavu88
The original file format looks like this: ...
The original file format looks like this:

UserID: 7
Start Time: Sat May 24 23:24:13 CEST 2008
End Time: Sat May 24 23:26:57 CEST 2008
Total time spent: 2.73072 minutes / 163.843 seconds
Date:...
5,399
Posted By dejavu88
Doesn't work :( , looks like there's no change...
Doesn't work :( , looks like there's no change when I execute the script.
Can you also explain what the code does? I'm new at using awk.
5,399
Posted By dejavu88
Remove duplicate text
Hello,

I have a log file which is generated by a script which looks like this:

userid: 7
starttime: Sat May 24 23:24:13 CEST 2008
endtime: Sat May 24 23:26:57 CEST 2008
total time spent:...
11,538
Posted By dejavu88
FlyingSquirrel, your last bit of code generates...
FlyingSquirrel, your last bit of code generates the same output. I found out there's more parameters for tail and tail -n 1 does the job for me.

Thanks everyone for the help, I learned a lot. :D
4,492
Posted By dejavu88
Thanks, that was exactly what I needed! I...
Thanks, that was exactly what I needed!

I also found a way to set a variable in any of the bash initializing scripts while doing the same thing, except without creating a new file. So it reads the...
11,538
Posted By dejavu88
Hello, it's almost working, except one...
Hello,

it's almost working, except one thing. I was a bit unclear about this, sorry!
The logfile gets bigger every time I run a script.

first time:
1211667249500#3265

second time:...
11,538
Posted By dejavu88
Read logline line by line with awk/sed
Hello,

I have a logfile which is in this format:


1211667249500#3265
1211667266687#2875
1211667270781#1828

Is there a way to read the logfile line by line every time I execute the code...
4,492
Posted By dejavu88
Increment userid in file
Hello,

does anyone know how to increment a userid(number) written in any scripting language that works on a shell?
For example:

I have a HTML file in this format:

userid:
name:
telephone:...
28,384
Posted By dejavu88
Just figured it out some minutes ago, same way...
Just figured it out some minutes ago, same way like you wrote the code, before you replied. Thanks for all the help :D
28,384
Posted By dejavu88
It kinda works, but somehow I have to forward the...
It kinda works, but somehow I have to forward the output to a new file.

awk '/<\/body>/ || /<\/html>/{next}1' file.html > file2.html

is there a way to make it return the output to the original...
28,384
Posted By dejavu88
Remove html tags with bash
Hello,

is there a way to go through a file and remove certain html tags with bash? If it needs sed or awk, that'll do too.

The reason why I want this is, because I have a monitor script which...
Showing results 1 to 18 of 18

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