Search Results

Search: Posts Made By: saurabh84g
Forum: Red Hat 05-24-2017
14,115
Posted By saurabh84g
Where to put script to be executed before shutdown ?
Hello,

My AIM is to run my script every time when someone shutdown or reboot my RHEL7 AWS instance.

Query ) Where should i put my script .So, that it gets automatically executed when a server...
Forum: Red Hat 02-04-2016
2,322
Posted By saurabh84g
suppose if ever need to increase add additional...
suppose if ever need to increase
add additional space in root volume group
and increase the respective LV size
Forum: Red Hat 10-02-2015
2,519
Posted By saurabh84g
User password reset
Hello -

I want to reset user password in multiple server via root ID. I have passwordless authentication for root between all the servers.

I an use loop to reset the password. I am using below...
1,540
Posted By saurabh84g
Thank you - It helped.
Thank you - It helped.
1,540
Posted By saurabh84g
Exec and xargs mvoe file to directory
Hello,

I am trying to move all the file listed by below command to /tmp/testing directory

find ./ -maxdepth 1 -type f -mtime +3

I tried using -exec and xargs - none of the combination is...
Forum: Red Hat 05-15-2015
2,007
Posted By saurabh84g
Disable xen machine to auto start on reboot
Hello Guys - I need to disable xen server not to start when the server is rebooted.

1) What is the parameter to be used to do this..below is the entry in my config file...

on_reboot = "restart"...
Forum: Red Hat 10-03-2014
4,168
Posted By saurabh84g
You might wanna check the cat...
You might wanna check the


cat /etc/sysconfig/iptables
Forum: Red Hat 10-03-2014
3,013
Posted By saurabh84g
- Prepare from Michael Chang Cert prep book -...
- Prepare from Michael Chang Cert prep book
- Hand on is very much required as RHEL is practical examination. So, you have to solve question in limited time frame.
Forum: Red Hat 10-03-2014
7,236
Posted By saurabh84g
[root@server1 ~]# lspci | grep -i fibre ...
[root@server1 ~]# lspci | grep -i fibre
0e:00.0 Fibre Channel: Emulex Corporation Saturn-X: LightPulse Fibre Channel Host Adapter (rev 03)
0e:00.1 Fibre Channel: Emulex Corporation Saturn-X:...
Forum: Red Hat 09-30-2014
7,236
Posted By saurabh84g
HBA card faulty
Hi,

How to determine if HBA card in getting faulty from linux host ? any pointers.
Forum: Red Hat 09-30-2014
2,586
Posted By saurabh84g
Thanks everyone. This question was asked to me...
Thanks everyone. This question was asked to me and my answers was to remove. However, i was specifically asked - We dont want to see the disk in fdisk output. I will keep searching and will post when...
Forum: Red Hat 09-29-2014
2,586
Posted By saurabh84g
Thanks.. :-) What if we do not have use awk....
Thanks.. :-)

What if we do not have use awk. I am looking at as

Suppose a disk /dev/sdd is gone faulty and we do not want this disk to be visible ...isnt there is somewhere we can blacklist...
Forum: Red Hat 09-29-2014
2,586
Posted By saurabh84g
Make a disk disappear from fdisk output
Hello,

1 ) Fdisk -l # Displays all the disk with partition table information

My Query )

A ) How can i make one disk ex: /dev/sdd not visible in fdisk -l output ?
B) From where fdisk -l...
1,105
Posted By saurabh84g
Thanks I am good now. How to close the thread ?
Thanks I am good now. How to close the thread ?
Forum: Red Hat 03-13-2014
1,421
Posted By saurabh84g
Thanks buddy..This works for me... Have a good...
Thanks buddy..This works for me... Have a good day ahead :-)

I will check the reverse part.
Forum: Red Hat 03-12-2014
1,421
Posted By saurabh84g
Thanks..I tried this and it echoed the desired...
Thanks..I tried this and it echoed the desired result
echo '[[ $SSH_TTY != "" ]]'|sed 's/\[\[ $SSH_TTY != "" ]]/#&/'

How make it write on the file ?

ex: /home/myfile
Forum: Red Hat 03-12-2014
15,475
Posted By saurabh84g
Thanks for the link...When i started looking for...
Thanks for the link...When i started looking for answer i came across this link and the below one as well
...
Forum: Red Hat 03-12-2014
1,421
Posted By saurabh84g
sed Help
Hi,

I want to replace


[[ $SSH_TTY != "" ]] with #[[ $SSH_TTY != "" ]]

their is a extra # in second one and vice versa.

I tried - some combination...I am not getting the exact...
Forum: Red Hat 03-12-2014
15,475
Posted By saurabh84g
Pvcreate vs disk partioning
Hi,

Case1 ) When a new disk is added ( ex: /dev/sda ), After scanning we create 1 partition for the whole disk ( ex: /dev/sda1 ) and then pvcreate and then add to a volume group.

Query )
1....
Forum: Red Hat 03-02-2014
1,468
Posted By saurabh84g
Hi, pvmove is easy to use. However, This...
Hi,

pvmove is easy to use. However, This approach can be fatal if something goes wrong.ex: You lose connectivity or did a wrong pvmove. Then, you will have to back to your backup to restore.

LV...
Forum: Red Hat 03-02-2014
2,658
Posted By saurabh84g
Check Aliases as well - Did you Issue...
Check Aliases as well

- Did you Issue newaliases command to get the changes in effect. ?

# vi /etc/aliases
User1: Superman
#newaliases

If you email to User1 it should be received...
Forum: Red Hat 02-18-2014
5,928
Posted By saurabh84g
Thanks Scott - I understood this one. That was a...
Thanks Scott - I understood this one. That was a cool way to notice minute detail.
Forum: Red Hat 02-18-2014
5,928
Posted By saurabh84g
Lftp service in rhel6 ?
Hi,

After installing vsftpd rpm - we have vsftpd service available.

But when i installed lftp rpm - i do not see any associated service for this ?

Is there is any ?
1,105
Posted By saurabh84g
Pass argument in script to run specific part in that
Hello Friends,

I need you help !

I have a scripts names runsteps.sh which contains command to run bunch of commands for each application you want to install " Oracle " Jboss" etc

echo "...
Forum: Red Hat 01-04-2014
3,093
Posted By saurabh84g
xming should do the job. Above link given by...
xming should do the job. Above link given by 'bartus11 (https://www.unix.com/members/302059620.html)' would be very useful. Please check.
Showing results 1 to 25 of 119

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