Search Results

Search: Posts Made By: snoop2048
Forum: Red Hat 11-14-2014
1,614
Posted By snoop2048
Is it even possible to run fdisk on a volume...
Is it even possible to run fdisk on a volume group? Do you mean you ran it on the physical volume?

What does vgscan and lvscan come back with?

I suspect you are stuffed....I would restore from...
Forum: Red Hat 10-28-2014
4,518
Posted By snoop2048
PAM: Unlock user account after 30mins
Hi

We have these specific requirements for a bunch of servers we have and cannot seem to get pam to behave in this way. We would like:

PAM locks accounts if pam tally reaches 10.
PAM unlocks...
Forum: Linux 01-09-2010
4,643
Posted By snoop2048
mdadm - Swapping 500GB disks for 1TB
Hi,

I have a three disk raid 5, with 500GB disks.

This is close to being full, and whilst I can just add another disk and rebuild to add another 500GB, I would prefer to replace with 1TB...
1,224
Posted By snoop2048
This still does not work. temp1.menu is blank.
This still does not work. temp1.menu is blank.
1,224
Posted By snoop2048
A code snippet: .... echo "" >...
A code snippet:


....

echo "" > $TMP_OUT
echo "LABEL $HOST $BUILD" >> $TMP_OUT
echo "MENU LABEL $HOST $BUILD" >> $TMP_OUT
echo "KERNEL vmlinuz-$BUILD" >> $TMP_OUT
echo "APPEND...
1,224
Posted By snoop2048
Yet another Sed question....
How do I inject the lines from one text file into another file at a specific line number?

Ive seen a few solutions on the net, none of which have worked. :mad:

Cheers
Si
15,432
Posted By snoop2048
Just realised....You would of course have to wrap...
Just realised....You would of course have to wrap this in a if statement to ensure the dates, months, years roll.

A better way would be to increment the unix time stamp by the correct integer...
15,432
Posted By snoop2048
date | awk '{print $1,$2,$3 + 1,$4}' ...
date | awk '{print $1,$2,$3 + 1,$4}'


From....


simon@cartman:~$ date
Fri Jan 9 15:09:45 GMT 2009
simon@cartman:~$ date | awk '{print $1,$2,$3 + 1,$4}'
Fri Jan 10 15:09:46...
1,677
Posted By snoop2048
Thanks for the speedy response. Works a treat.
Thanks for the speedy response. Works a treat.
1,677
Posted By snoop2048
Sed question
Afternoon All,

Its been a long day, and I need help with the following:

Trying to cut and process sections of text from a long file based on line numbers. I need the equivalent of:

sed -n...
Showing results 1 to 10 of 10

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