Search Results

Search: Posts Made By: anup13
3,969
Posted By anup13
if file name is only '!', you can remove it by "...
if file name is only '!', you can remove it by " rm !"
but i feel its not the case.
its all files using "ls -b" it will print non printable characters also in ascii format,

use man ascii to see...
Forum: Programming 01-05-2009
8,763
Posted By anup13
ya, i know using file is much more good thing. i...
ya, i know using file is much more good thing. i kept array in my program just for testing purpose. actually in our case we have holiday table stored in database. before this code we build holiday...
Forum: Programming 01-01-2009
8,763
Posted By anup13
i done some modifications for considering...
i done some modifications for considering holidays also(i.e local holiday).
also you can get nth working day from given day.
if holiday list is stored in table, you can build hash table on it...
Forum: Programming 12-31-2008
8,763
Posted By anup13
thanks a lot :) it solved my problem.
thanks a lot :)
it solved my problem.
Forum: Programming 12-30-2008
8,763
Posted By anup13
thanks for help. but i want in other way. i...
thanks for help.
but i want in other way. i have function
computeBsnsDate(start date, no_of_days,next_bsns_date);

i want to pass startdate say "26-DEC-2008 and no_of_days as 1
so i have to...
Forum: Programming 12-30-2008
8,763
Posted By anup13
get next working day
i want to get next working day from give date, that is other than Saturday or Sunday.
suppose given date is 26-DEC-2008 (i.e Friday) then i should get 29-DEC-2008 as next working day(i.e Monday)....
Forum: Programming 12-04-2008
2,468
Posted By anup13
thanks, actually i done it with threads. but i...
thanks,
actually i done it with threads. but i just wanted to try it with forking i.e. parent child.
any ways thanks
Forum: Programming 12-03-2008
2,468
Posted By anup13
forking. sharing global data in childs
hi, i want to write a code for forking 3 4 child. n wants that every child process one of the account from global account list. i wrote a program for that, but problem is every child is processing...
8,171
Posted By anup13
hey thank it worked. now i have can get jod id...
hey thank it worked.
now i have can get jod id from that file.
8,171
Posted By anup13
i want output of at command, that is job id...
i want output of at command, that is job id return by at command.

i tried to do same thing
like
at -k -f "menu.sh" now + 2 minutes 1>at_out

but still at_out file is empty. i used...
8,171
Posted By anup13
redirecting out of "at command" to file
hi,
i am trying to redirect output of at command to a file.
`at -k -f "menu.sh" now + 2 minutes` > at_out

but when at_out is empty file. why? how can i do this.
actually i want to get job id...
4,505
Posted By anup13
Thanks, i also did the same thing. Do you...
Thanks,
i also did the same thing.
Do you have any idea? can it be done without SUDO ?
9,709
Posted By anup13
i don't have ssh installed and cant install also....
i don't have ssh installed and cant install also. can you tell me how to use rsh with .rhosts.
actually i m writing script so that user can login to root account without entering password. like...
12,635
Posted By anup13
i was trying to do same thing. but i thing on my...
i was trying to do same thing. but i thing on my machine date -d option is not available.

date: illegal option -- d
usage: date [-u] mmddHHMM[[cc]yy][.SS]
date [-u] [+format]
...
9,709
Posted By anup13
auto login to Super User account
i want to write to script which will login to su account without hving user interaction.( i know Super user password)
i wrote following script its also able to log into su account. but seesion gets...
12,635
Posted By anup13
hi guys thanks for your reply. !! cant...
hi
guys
thanks for your reply. !!

cant it done using only shell scripting. without using perl or doing changes to system like changing TZ
12,635
Posted By anup13
add 2hours in current time
hi
i want to add 2hr ( or any hours inputed by user) to current time
and print it.
can any one help me with script.


eg suppose current date is "10-sep-2008 23:10:00"
and if i added 4hrs to...
4,505
Posted By anup13
script to show menu option & need to be autorun
hi i need to perform following task
have to write script to display menu
like 1) login as user1
2) login as user2
3) login as user3
4) go to shell
script will be run through...
Showing results 1 to 18 of 18

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