Search Results

Search: Posts Made By: ktmchen
14,996
Posted By ktmchen
hi sysgate, Yes, I want to get user's alias...
hi sysgate,

Yes, I want to get user's alias information. My script is wrote for every user and they may have their own command alias names. For some reasons, a latest beta executable command was...
14,996
Posted By ktmchen
hi ilan, Thanks for your help. But commands...
hi ilan,

Thanks for your help. But commands like "alias", "bg", "set", etc are shell built-in functions. They couldn't execute by system() or ``. At least my platform(Red Hat Enterprise Linux AS...
14,996
Posted By ktmchen
get command alias name in perl script?
hi all,

In my perl script, I need to know the command alias name to make my program flexible. I tried many methods like system("alias cmd"), `alias cmd`, use shell qw,etc. But no one could...
Forum: Programming 12-22-2007
6,797
Posted By ktmchen
thank you, porter.
thank you, porter.
Forum: Programming 12-21-2007
6,797
Posted By ktmchen
That what I'm trying now. But it's weird. I wrote...
That what I'm trying now. But it's weird. I wrote a signal handler function to judge if set lock successfully or wait timeout. There are A, B ,C three processes trying to get file lock. A starts to...
Forum: Programming 12-21-2007
6,797
Posted By ktmchen
interrupt a blocking lock(F_SETLKW)
Hi all,

I use F_SETLKW to lock a file or keep waiting. How can I interrupt the blocking lock after waiting for a period? I want to add an argument to let user set waiting time. Maybe I can use...
Showing results 1 to 6 of 6

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