Search Results

Search: Posts Made By: saurau
Forum: Red Hat 02-23-2016
1,571
Posted By saurau
Sshd_config file issue, not able to login, need urgent help.
Hello all,

By mistake i edited sshd_config file and made passwordauthentication no , Now i don't have key to login.
Is there any way, i can revert the changes, I am not able to login to the box...
1,666
Posted By saurau
Sorry for not asking exact question, I want AND...
Sorry for not asking exact question, I want AND operator so that if both exists then only i will get the output.
1,666
Posted By saurau
Search multiple pattern in a file
I have a sample file with following output:

HTTP/1.1 200 OK
User: admin
Set-Cookie: AMBARISESSIONID=y3v3648yqcno32nq478kw7ar;Path=/;HttpOnly
Expires: Thu, 01 Jan 1970 00:00:00 GMT...
1,308
Posted By saurau
Output in table
Hi,

I have a script which gives output as below:

We want to extract the output which will contain only PoolManager and Total number of connections, and if possible in a table with two...
1,162
Posted By saurau
To divide file
We have large log files, and we need to extract last four hours lines only,
Please let us know the command.


Thanks,
Saurau.
Forum: Red Hat 05-08-2014
3,248
Posted By saurau
OK, let me simplify the requirement, We need a...
OK, let me simplify the requirement,
We need a user to have all permissions under /usr Dir which is owned by root.
Please help.
Forum: Red Hat 05-08-2014
3,248
Posted By saurau
Sudo access issue
Hi,

I have given access to user mwadmin in shudders file as :

mwadmin ALL:NOPASSWD:/www/* /usr/* /opt/*

However, not able to execute below command:
sudo mkdir -p /usr/test
[sudo]...
1,100
Posted By saurau
I will try that , anyway i solved it by following...
I will try that , anyway i solved it by following code :

for i in *.DEV1
do
fname1=`basename $i .RTP.DEV1`
mv "$i" "$fname1.mmk.DEV1"
done


Thanks!!
1,100
Posted By saurau
Hello hanson44, It's not working :( ...
Hello hanson44,

It's not working :(

Below is my output:


[root@dhcppc116 files]# ls
appp1.APP.RTP.DEV1 appp2.APP.RTP.DEV1 appp3.APP.RTP.DEV1
[root@dhcppc116 files]# rename 's/RTP/mmk'...
1,100
Posted By saurau
Rename all files at a time
i have some bar files in a directory

appp1.APP.RTP.DEV1
appp2.APP.RTP.DEV1
appp3.APP.RTP.DEV1


need to be renamed as

appp1.APP.mmk.DEV1
appp2.APP.mmk.DEV1
appp3.APP.mmk.DEV1

i need...
1,847
Posted By saurau
Thanks a lot , All worked.
Thanks a lot ,

All worked.
1,847
Posted By saurau
To read specific line from a file
Hi,

I have a ldif file like below:
version: 1

dn: cn=Test Group,ou=Applications,dc=xyz,dc=com
objectClass: groupOfUniqueNames
objectClass: top
cn: Test Group
uniqueMember:...
2,721
Posted By saurau
Sorry for late reply, Just new entries...
Sorry for late reply,

Just new entries will be fine.

Please let me know if you have any further questions.

Regards,
Saurau
2,721
Posted By saurau
It should compare the content, size and...
It should compare the content, size and permission of all files and directories.
Please let me know if you have any further question.
2,721
Posted By saurau
Thanks DGPickett, Actual script to be...
Thanks DGPickett,

Actual script to be written as :



Please help.
2,721
Posted By saurau
Script for Comparing directories and file from a text file
Hello all,
I need to write a script which has following requirement:

Need to read the filenames from text file and then search for the above read files in the required directory and if match...
2,922
Posted By saurau
Change to directory and search some file in that directory in single command
I am trying to do the following task :

export ENV=aaa
export ENV_PATH=$(cd /apps | ls | grep $ENV)

However, it's not working. What's the way to change to directory and search some file in that...
1,139
Posted By saurau
Thanks, It worked :)
Thanks, It worked :)
1,139
Posted By saurau
Comparison of two variables with IF loop
Hello,
My script is like :
#!/bin/sh -x
TODAY=$(echo `date +"%b%d"`)
FILE_DATE=$(ls -l test.sh | awk '{print $6$7}')
echo "file date=$FILE_DATE"
echo "date=$TODAY"
if ["$TODAY" ==...
Forum: AIX 02-22-2012
10,613
Posted By saurau
I have tectia ssh installed and it does not allow...
I have tectia ssh installed and it does not allow -f arguement. Please help, it is urgent.
Forum: AIX 02-17-2012
10,613
Posted By saurau
$ ssh-keygen -t dsa -b 1024 -f /tmp/.ssh/identity...
$ ssh-keygen -t dsa -b 1024 -f /tmp/.ssh/identity
illegal option -- f
Usage: ssh-keygen [options] [key1 key2 ...]


No luck :(
Forum: AIX 02-16-2012
10,613
Posted By saurau
ssh-keygen issue on AIX
Hi ,

I am trying to create public key on my AIX server on other than home directory.However the command does not ask for
Enter file in which to save the key :
It is directly taking me to Enter...
4,456
Posted By saurau
Hi, Thanks it worked, however my active...
Hi,

Thanks it worked, however my active instances are installed on different path and also only start command wont work for all the instances.The script provided by you will work only when i...
4,456
Posted By saurau
Thanks a lot for your help.It's really good. I...
Thanks a lot for your help.It's really good. I will try and you know, if any complication arises.

Regards,
Saurau.
4,456
Posted By saurau
Hi, My active server text file will look...
Hi,

My active server text file will look like :

apache-instance1
apache-instance2
apache-instance3
ews-instance1
ews-instance2
ews-instance3
eap-instance1
...
Showing results 1 to 25 of 26

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