Search Results

Search: Posts Made By: nitin09
2,702
Posted By nitin09
Improving on RavinderSingh13's solution to handle...
Improving on RavinderSingh13's solution to handle the edge cases.

cat sarout.txt |awk ' BEGIN { OFS="\t\t"; print "Seq","Time","rcache","wcache"; count=1}; ( NR==1 || $1 ~ /^Average/ || $NF < 0 )...
Forum: UNIX and Linux Applications 11-28-2011
6,792
Posted By nitin09
Account lockout using Openldap
What is the best way to implement account lockout in openldap? I have an openldap server with Ubuntu desktop client connecting to it for authentication. I want he accounts to locked out after say 5...
Forum: Linux 09-28-2010
1,938
Posted By nitin09
Monitor ldap users
Any way to find the ldap users currently logged into the clinets ? I am using Openldap with NFS for home directory mounts.
1,783
Posted By nitin09
I thinks this is because $1 will no longer...
I thinks this is because $1 will no longer represent the 1st argument once inside ' '.

---------- Post updated at 09:56 PM ---------- Previous update was at 09:50 PM ----------

Try this

ps...
1,013
Posted By nitin09
grep "pattern" $1 >/dev/null if [ "$?" -eq "0"...
grep "pattern" $1 >/dev/null
if [ "$?" -eq "0" ]
then
echo -e "pattern found \n"
exit 0
else
echo "pattern" >> $1
fi


execute ./script.sh file.xml
Forum: Linux 04-06-2010
2,714
Posted By nitin09
Linux Certification/Training suggestions ?
I have been working linux administration for 2.5 years. I would like to have a certification in this. Yes RHCE is an option. I think already know most of the RHCE stuff.

But I would like to have...
Forum: Linux 04-06-2010
8,489
Posted By nitin09
What is the minimum number of partitions you need to install Linux?
I think its 3. Just to know if I am correct.
/
/boot
swap

:confused:
2,142
Posted By nitin09
Will the task set using at get reset on reboot ?
Will the task set using at get reset on reboot ?
2,142
Posted By nitin09
Best way to schedule a task that is be excuted years later
What is the best way to schedule a task that is be executed years later? Like execute a script after 4 years.

Is cron the best method for that?

Any other option other than cron/at ? :confused:
Forum: Linux 07-28-2008
6,164
Posted By nitin09
clearing history
Is it possible to clear certain specific commands from history. I mean not clearing the entire history (history -c).
You don't want anyone to see a particular command you executed. must not also...
3,090
Posted By nitin09
put this in a sed script cat >sedscript ...
put this in a sed script
cat >sedscript



# sed -n -f sedscript test
10,269
Posted By nitin09
How about this !
How about this !
2,794
Posted By nitin09
How csf &apf work ?
I would like to more about how csf &apf firewalls work ? how they use iptables right ? why we need to use them when we got iptables ?:confused:
1,826
Posted By nitin09
i think it will be perl.
i think it will be perl.
2,565
Posted By nitin09
better use perl search and replace.
better use perl search and replace.
19,774
Posted By nitin09
ls -al |awk ' { print $3 }'
ls -al |awk ' { print $3 }'
12,098
Posted By nitin09
Thanks Jadu ! my awk version ...
Thanks Jadu !
my awk version

ifconfig|grep Bcast|awk ' { print $2 }'|awk -F":" ' { print $2 }'
12,098
Posted By nitin09
IP address in prompt using .bashrc
I know to display hostname, username .... etc in command prompt using .bashrc. But what i want is to display IP of the system in prompt.

Any way to do it ?:confused:
Forum: Linux 01-24-2008
3
6,076
Posted By nitin09
any websites with tutorials ?
any websites with tutorials ?
8,827
Posted By nitin09
The following while statement loops through all...
The following while statement loops through all the options and sets them to the corresponding variable. getopts returns true while there are options to be processed. The argument string, here...
Forum: Linux 01-23-2008
3
6,076
Posted By nitin09
Inodes
Any good sites, tutorials that explain Inodes clearly and completely ?
11,069
Posted By nitin09
#!/usr/bin/expect -f spawn ssh -X root@<ip...
#!/usr/bin/expect -f
spawn ssh -X root@<ip addr>
expect "password:"
sleep 1
send "password\r"
interact
1,563
Posted By nitin09
Jus try out this . I am trying "aga" as the...
Jus try out this . I am trying "aga" as the string to match.

#!/usr/bin/perl -w
$a="aga";
print "input string : \n";
$b=<STDIN>;
if ( $b=~/($a)/ )
{
print "matched part: $1 \n";
print "...
Showing results 1 to 23 of 23

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