Search Results

Search: Posts Made By: Anu_1
1,396
Posted By Anu_1
ps output
root 4391046 3801216 0 Apr 08 - 0:00 /bin/ksh/
root 5439640 6815806 1 12:32:31 pts/0 0:00 -ksh
Date can have both this format
1,396
Posted By Anu_1
Ps output field extract
This is the output from ps -ef cmd . I have to extract the fourth (C) and the seventh (TIME) field
root 3932344 3801216 Apr 08 - 0:00 /usr/sbin/rsct/bin/ERrmd
root 3997836 1 ...
1,775
Posted By Anu_1
Excel from shell script
Is it possible to generate excel sheet from a shell script and rename the worksheet..?
Thanks for your answer
Forum: Red Hat 06-25-2012
965
Posted By Anu_1
Linux Logging
Could you please help me with the command to find out if my system is using "syslog" or "syslog-ng" or "rsyslog"..

Thanks .
Forum: Solaris 04-06-2012
1,945
Posted By Anu_1
Solaris Basic Administration Study Guide
Could you please help me with a link for study guide or book for 1Z0-877 .
Thanks for your help
863
Posted By Anu_1
Sort HTML dropdown
I have a string
str="<option>win2</option><option>hp</option><option>lin</option>"

I have to arrange these in sorted order i.e
<option>hp</option><option>lin</option><option>win</option>

Can...
2,684
Posted By Anu_1
String replace with sed
Thanks for help , but the last record is not processed correctly

6 00 01 ww code 40 80 30 CGE MOT 001
7 02 01 ww perl 40 80 30 CGE MOT 002
8...
2,684
Posted By Anu_1
Thanks for your help . Is it possible to have...
Thanks for your help .
Is it possible to have the output in the original format (now all the fields are separated by one space)

6 00 01 ww code 40 80 30 CGS MOT 001
7...
2,684
Posted By Anu_1
String replace With Sed
Hi,
I have a text file
6 00 01 ww code 40 80 30 NIK MOT 001
7 02 01 ww perl 40 80 30 NIK MOT 002
8 06 01 ww shell (unix) 40...
2,423
Posted By Anu_1
Thanks ...the number of errors could be more ..in...
Thanks ...the number of errors could be more ..in this example only two types are shown...
2,423
Posted By Anu_1
Thanks for your help ...can it be done through...
Thanks for your help ...can it be done through shell scripting ....?
2,423
Posted By Anu_1
Find the first occurrence of an error
I have a log file :
country_error : xxxxxxxxxxxxxxxxxxxxxxxxxx,99999999999999999
country_error:yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
customer_error:yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy...
Forum: Red Hat 09-08-2011
3,572
Posted By Anu_1
Thanks a lot :)..!!!
Thanks a lot :)..!!!
Forum: Red Hat 09-07-2011
3,572
Posted By Anu_1
Help to Find out Available disk space
I need to find available disk space for /home.
$ df /home
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mahhh/VolGroup11-LogVol00
32281452 ...
Forum: Linux 04-05-2011
30,897
Posted By Anu_1
SULOG for LINUX
How to enable sulog activity in LINUX like /var/adm/sulog in Solaris , AIX.....
I have added
SULOG_FILE /var/log/sulog
in /etc/login.defs ...but it is not working ...

Thanks a lot for help
1,372
Posted By Anu_1
unix permission
Could anyone help me ,if the permission says '0x11' .? I understand the execute permission for group and all ...but not very sure about 'x' in user position...

Thanks
3,595
Posted By Anu_1
Print system error in perl
Hi ... I am trying to get the system error msg when the directory creation is failed.
unless (`mkdir -p "xyz/abc/test"`)
{
print "Not able to create directory $!";


}
This code is...
7,040
Posted By Anu_1
non expiring password
In case of solaris which file store the info about user with non expiring password
7,040
Posted By Anu_1
Non expiring password
Which files store the information about user with non expiring password in case of HP-UNIX like /etc/shadow in linux

Two threads by Anu_1 merged
Forum: HP-UX 06-01-2010
3,320
Posted By Anu_1
Retention of log data
What is the method to retain log files for 30 days in HP ...? Which files do we need to configure to alter the retention period...
**Both HP11iV2 and prev

Thank you for your help
Forum: AIX 02-03-2010
5,464
Posted By Anu_1
Thank you all for the explanations.....
Thank you all for the explanations.....
9,755
Posted By Anu_1
I am very new in unix but will it help if you...
I am very new in unix but will it help if you use..
ls -rt| tail -1 ==> this will get you the most current file
Forum: AIX 02-03-2010
5,464
Posted By Anu_1
Different behavior of LC_COLLATE in AIX & LINUX
1. I have created following files in both AIX & Linux
touch a A b B c C x X y Y z Z

2. In AIX

$ LC_COLLATE=en_US ; export LC_COLLATE
$echo [a-z]
$ a b c x y z


3. In LINUX
$...
Forum: Solaris 11-16-2009
5,325
Posted By Anu_1
Thank you all ....this worked....!! Just for my...
Thank you all ....this worked....!!
Just for my knowledge .....to redirect the error msg of other commands to /dev/null....the syntax is <command> 2>/dev/null ....why the same syntax didn't work...
Forum: Solaris 11-13-2009
5,325
Posted By Anu_1
$ {whoami} 2>/dev/null {whoami}: not found $ ...
$ {whoami} 2>/dev/null
{whoami}: not found
$

Didn't work.....I do not want the error message on the screen......
Showing results 1 to 25 of 26

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