Search Results

Search: Posts Made By: grandios
1,902
Posted By grandios
Shell script question
HI, i would like to ask you several question regarding a shell ( #!/bin/sh)
i need to make a program that able to do :
1.Accept the name of a logle as the sole command line argument
2.search the...
1,494
Posted By grandios
Shell script question
HI, i would like to ask you several question regarding a shell ( #!/bin/sh)
i need to make a program that able to do :
1.Accept the name of a logle as the sole command line argument
2.search the...
Forum: Programming 04-28-2010
2,601
Posted By grandios
[PHP] asking how to make plain text database searching system
hi, i want to ask, how to make a plain text database (u need to call and search all the data manually) in PHP. i am going to apply it in UNIX os. anyone have any idea how to do it? most of the data...
3,710
Posted By grandios
well, i never have an existing passwd file so i...
well, i never have an existing passwd file so i dont know... if i declare passwd as nothing it will not open anything. and is this using IO redirection?

---------- Post updated 04-07-10 at 04:11...
3,710
Posted By grandios
to methyl, teh code looks like working, but it...
to methyl, teh code looks like working, but it keep returning invalid username
i put teh file in /etc/passwd like this:

foo
foobar
fookar

is it correct?
3,710
Posted By grandios
to kshji : it is correct, its just i cant get the...
to kshji : it is correct, its just i cant get the location of both home and shell. its also strange that the userid is keep taken as system account. just like what i previously stated, that i need to...
3,710
Posted By grandios
it says, syntax error near line 1 and bailing out...
it says, syntax error near line 1 and bailing out near line 1.
3,710
Posted By grandios
not working, still cant get the userid argument....
not working, still cant get the userid argument. am quite confused now T_T
3,710
Posted By grandios
those variable are used to detect whether the...
those variable are used to detect whether the myUser are included in system account or not. if not then they will print thr home directory etc. the problem is, i dont know how to get the account from...
3,710
Posted By grandios
oh yha, i put the etc, its just my previous code....
oh yha, i put the etc, its just my previous code. i put etc/passwd but still not giving me the result i want
3,710
Posted By grandios
sorry for the in appropriate post, but this is...
sorry for the in appropriate post, but this is some how really urgent for me.

i dont know how or why, but it always returning not user value even when the data inside is matched.
i try another...
3,710
Posted By grandios
[Bourne shell] Asking stuff with #!bin/sh urgent!
1. Accept a “userid” as a command line argument
2. Produce the following output:
User userid has a home directory of /path/directory
the default shell for this user is /path/shell
3. At this...
1,947
Posted By grandios
to vergh, i am using #!/bin/sh or bourne shell....
to vergh, i am using #!/bin/sh or bourne shell. it cant work..

for the one before i got the answer :
case $response in
*[Gg]ood*) printf "i am glad to hear that";;
*) printf "too bad";;
esac...
1,947
Posted By grandios
for vgersh = i dont understand the code.when i...
for vgersh = i dont understand the code.when i try to apply it. the machine print unexpected '(' error in the hour=$(date +%H)

for expert = i try that before, but it change the user input into...
1,947
Posted By grandios
Hi, JIm Thank you for your help. after i put...
Hi, JIm

Thank you for your help. after i put the code you show me, i got error telling me that grep cant open good. do you know whats wrong? i use #!/bin/sh.

this is still the basic...
1,947
Posted By grandios
[SH] asking some question which confused me
1. i am asked to do some simple unix programming using SH. i am having problem in :
1. how to get string and put it on condition. for example :
i have and input with read = very good. as long...
Showing results 1 to 16 of 16

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