Search Results

Search: Posts Made By: mnmonu
Forum: Linux 07-09-2014
4,024
Posted By mnmonu
Configuring wu-ftpd for ftp user login
I am having trouble configuring wu-ftpd on my system to allow a real user to login. I am not sure where to start. I'll try to give as much information as possible.

Here is a log of what happened....
1,107
Posted By mnmonu
Help with rename file
Hi All,

I have to rename multiple file. I have a file like this :
ABC_DEF_ALL_20130411.tar.gz
ERF_ALL_20130411.tar.gz

I want to rename like this :
ABC_DEF_ALL_20130410.tar.gz...
1,205
Posted By mnmonu
Help with useradd command
Hi,

I want to create multiple user in same home directory.
Is it possible ?
If possible then please tell me how.

Thanks in advance.
Forum: Red Hat 08-21-2012
4,105
Posted By mnmonu
We can't restart the server. Because this is...
We can't restart the server. Because this is production server :o.
We are already restart multipath.
Forum: Red Hat 08-10-2012
4,105
Posted By mnmonu
Help with Multipath
Hi All,

When I execute "multipath -ll" command that time display only 3 path (orafra2,oradata2 and oradata1), not display other 2 path (orafra1 and data1). I have configure 5 path in...
5,289
Posted By mnmonu
Monitoring log file
Hi,

I ned to monitor the tomcat log file called "catalina.out" for "OutOfMemory" ,"java.sql.SQLException" and "Error" error.

the script should monitor this file (catalina.out) and send us the...
Forum: Red Hat 08-03-2012
18,148
Posted By mnmonu
Hi admin_xor, Sorry for late reply. ...
Hi admin_xor,

Sorry for late reply.
Actually I had some problem.

Please find the attached "multipath - v3" output.
And /var/log/messages output below:

[root@reuxeuls003 ~]# tail -10f...
2,570
Posted By mnmonu
Thanks balajesuri, it's working
Thanks balajesuri, it's working
2,570
Posted By mnmonu
Thanks balajesur, But I can't use perl in our...
Thanks balajesur,
But I can't use perl in our environment. Is there any shell script?
2,570
Posted By mnmonu
Hi balajesuri, It's ok but when we put the...
Hi balajesuri,

It's ok but when we put the environment variable that time error.

sed -i 's:'\''[^'\'']*'\'':'\''$ORACLE_HOME/test.log'\'':' filesuppose $ORACLE_HOME is...
2,570
Posted By mnmonu
Search replace strings between single quotes
Hi All,

I need to serach and replace a strings between single quote in a file.
My file has :
location='/data1/test.log' and the output needed is
...
Forum: Red Hat 07-24-2012
18,148
Posted By mnmonu
Platform : Red Hat Enterprise Linux Server...
Platform : Red Hat Enterprise Linux Server release 5.6

---------- Post updated at 11:09 AM ---------- Previous update was at 11:05 AM ----------



Hi admin_xor,

The output is :

defaults...
Forum: Red Hat 07-23-2012
18,148
Posted By mnmonu
Help with Multipath
Hi All,

When I execute multipath -ll command that time display only 3 path (mpath1,mpath2 and mpath5), not display other 2 path (mpath3 and mpath4). I have configure 5 path in /etc/multipath.conf...
1,580
Posted By mnmonu
$ ls | rm `awk -F"_" ' $2 > 10540 '`
$ ls | rm `awk -F"_" ' $2 > 10540 '`
1,585
Posted By mnmonu
Help for umask
Hi,

I want to set umask value only for vi editor.
If I create new file using vi editor, then automatic permission should be 777.
I want to set umask 000.
Please help me.

Thanks in advance
1,392
Posted By mnmonu
Hi mohitmehral, Find below the code ...
Hi mohitmehral,
Find below the code

CUREENT_DATE=02
log_file_path="$CUREENT_DATE"-"`echo $0 | awk -F"/" '{print $2}' | awk -F"." '{print $1}'`".log""
echo $log_file_path
1,417
Posted By mnmonu
Hi itkamaraj, Your code only print two line...
Hi itkamaraj,
Your code only print two line after search the date. If I want to print next 10 line after searching the date then what will do?
1,417
Posted By mnmonu
Help For File modification
Hi,
I have a file. File contains are as follows :

Feb 19, 2012 5:05:00 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Feb 19, 2012 5:05:00 PM...
1,779
Posted By mnmonu
Hi Scrutinizer, I am not using Solaris , I am...
Hi Scrutinizer,
I am not using Solaris , I am using Redhat 5.6
1,779
Posted By mnmonu
Hi rangarasan, When execute your script...
Hi rangarasan,
When execute your script following error is comming, match syntax error
1,779
Posted By mnmonu
I can't get the answer. I want to pass search...
I can't get the answer. I want to pass search string as a variable
1,779
Posted By mnmonu
This is not working
This is not working
1,779
Posted By mnmonu
Help for search string
Hi all,

I have a file. I want to search particular string in that file and also print next 10 line. I have a code.

awk '/search word/{c=10}c&&c--' file name

But I want to pass string as a...
1,570
Posted By mnmonu
Remove last string from last line in a file
Hi,

I have a file like :

I want to remove last string in last line (here total string is "05550"~). And last line end with ~ character.
Output should be :

Please help me

Thanks in advance
2,368
Posted By mnmonu
Thanks Scrutinizer. But little problem in...
Thanks Scrutinizer.

But little problem in your script. End of output file, print the line no. Just like


see last line last value print "0500", that is extra

Please help me
Showing results 1 to 25 of 94

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