Search Results

Search: Posts Made By: edrichard
Forum: Red Hat 04-23-2009
10,184
Posted By edrichard
Thanks for your reply. I deleted the user...
Thanks for your reply.

I deleted the user and then set it up again. It worked the second time, but I don't believe I did anything different.

Thanks again for your input.
Forum: Red Hat 04-20-2009
10,184
Posted By edrichard
New RH User - Access Denied
Hi,

We were just recently given a new VM instance with Red Hat linux.

The only user account that can log in successfully is the root account. I made sure that the user z021407 has access to...
23,221
Posted By edrichard
Thanks Annihilannic, this worked perfectly.
Thanks Annihilannic, this worked perfectly.
23,221
Posted By edrichard
Perl Script Syntax to Extract Everything After Special Character
Hi,

I am writing a Perl script that reads in many lines, if a line meets the criteria I want to edit, it. For example, the script will return the following example line... test=abc123

All I...
2,144
Posted By edrichard
Pretty obvious I guess. I am actually a storage...
Pretty obvious I guess. I am actually a storage engineer, but I need to automate some cli scripts that will add storage to a Hitachi array.

BTW: It turns out I have to get this to work in Perl. I...
2,144
Posted By edrichard
Figured it out, I was using the single quote...
Figured it out, I was using the single quote instead of the backtick
2,144
Posted By edrichard
That's what I'd like to do, but I can't get my...
That's what I'd like to do, but I can't get my head around it, I've tried...

var='grep CAN -A 1 ips.txt | grep http
echo $var

Which of course returns: grep CAN -A 1 ips.txt | grep http

But...
2,144
Posted By edrichard
Trap grep output
We have a script that greps a file for an IP address. Once the address is found I'd like to trap the result and use it later in the script. For example I have a file called ips.txt, and it contains:...
Showing results 1 to 8 of 8

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