Search Results

Search: Posts Made By: prabhu_kumar
8,983
Posted By prabhu_kumar
awk substr
HI I am using awk and substr function to list out the directory names in the present working directory .

I am using below code

ls -l | awk '{ if ((substr($1,1,1)) -eq d) {print $9 }}'
...
3,587
Posted By prabhu_kumar
while loop output
:wall:Hi
I am a beginner to unix

In a shell script i see the below code

# set admin email so that you can get email
ADMIN=someone@somewhere.com
host=`hostname`
date=`date`
# set alert...
1,247
Posted By prabhu_kumar
yes its working
yes its working
1,247
Posted By prabhu_kumar
vm ware linux
HI I am using vmware on my windows system and I had the red hat linux working on my system.But the problem I'm facinf certain commands are not working in lunux.
i don't know the reason why

ex :...
1,880
Posted By prabhu_kumar
As you said here S* means 0 or more occurances of...
As you said here S* means 0 or more occurances of s
and what if I need to search 1 or more occurances of S ?
thanks a lot
1,880
Posted By prabhu_kumar
awk command
Hi I am a starter to unix

my sample file contains following lines

prabhu kumar
ram saksena
sam saxena

now when I use the following command

# awk '/sa[kx]s*ena/' sample

I...
7,825
Posted By prabhu_kumar
Unix online training
Hi,

I am very new to unix shell scripting.I want to learn shell scripting to a moderate level.
could any one of you suggest me who can give an online training on unix shell scripting .
I am...
4,828
Posted By prabhu_kumar
hi devtakh, I could not get you ....so can...
hi devtakh,

I could not get you ....so can you please expalin me where i am missing the logic and explain the way to rectify the issue.

many thanks,
prabhu
4,828
Posted By prabhu_kumar
Kill idle script is killing unnecessarly
Hi All,I have a problem with my kill idle script.my script is supposed to kill the user sessions which are idle for more than 2 hours.But is is killing the sessions which are idle for less than 2 hrs...
Showing results 1 to 9 of 9

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