09-24-2009
Ok Here are some hint commands that I know could help you with :
1) addrecord;;
read name
read title
... etc etc
date="$name:$title ...."
cat $data >> /path/to/phonebook
2) showall;;
cat /path/to/phonebook
3) searchrecord;;
read tosearch
grep $tosearch /path/to/phonebook
4) delete;;
read tosearch
grep -v $tosearch /path/to/phonebook > /path/to/phonebook.tmp
cat /path/to/phonebook.tmp > /path/to/phonebook
5) edit
I dont know what does this mean
I guess you got the idea ...
9 More Discussions You Might Find Interesting
1. AIX
Hi,
I'm trying to create a new group on an AIX 5.2.0.0. server but am getting the following error:
root:/root $ mkgroup debt
3004-698 Error committing changes to "debt" : Value is invalid.
I've change the group name to no affect.
Does anyone have any ideas what could be causing this?
... (0 Replies)
Discussion started by: m223464
0 Replies
2. Shell Programming and Scripting
Hi,
I am new to Unix.
I have a file with three colomns ( a list of Names and Tel. Nr.)
*****************************
Name Firstname Tel.Nr.
Muster Hans 001 123 456 789
.. .. ..
.. .. ..... (2 Replies)
Discussion started by: aqa
2 Replies
3. Shell Programming and Scripting
Hi,
I want to create group in unix. what is the command?
how to create a group and add a user into that group?
Thanks in advance (2 Replies)
Discussion started by: senthil_is
2 Replies
4. AIX
Hello,
I am new in AIX please tell how can i create user and add group in this user for example, i want to create user umair and want to add this user primanry group DBA and secondary group ORACLE,how can i do this please tell in detail
Thanks,
Umair (1 Reply)
Discussion started by: umair
1 Replies
5. UNIX for Dummies Questions & Answers
Hi,
please let me know the commands to create new group/delete existing group in unix and assigning users to newly created group.
Thank you in advance. (2 Replies)
Discussion started by: kancherla.sree
2 Replies
6. AIX
Good afternoon all,
I'll probably confuse everyone as I'm a Windows guy dealing with AIX 6.1 and can't quite figure out how to do something. I have a P520 server running 2 LPARs and we have an IVM (not HMC).Within the IVM under Virtual Storage Management, when I check the Physical Volumes, I have... (4 Replies)
Discussion started by: Spellbound
4 Replies
7. Solaris
Hi folks,
I have the following data.Any help is greatly appreciated.
order File_name
7222245 7222245.pdf
7222245 7222245a.pdf
7222245 7222245b.pdf
7222245 7222245c.pdf
7222245 7222245d.pdf
7222250 ... (1 Reply)
Discussion started by: kumar444
1 Replies
8. UNIX for Dummies Questions & Answers
hi,
I want to create a volume group of 200 GB and then create different file systems on that.
please help me out. Its becomes confusing when the PP calculating PP.
I don't understand this concept. (2 Replies)
Discussion started by: kamaldev
2 Replies
9. Programming
Hi all ! :)
What I want?
1. All child process must be in the same group of process. Parent is a leader of the group.
How to do this? I would be greatfull of some example of code, I read about setsid but I can't even start...
My code so far:
#include <stdio.h>
#include <stdlib.h>... (2 Replies)
Discussion started by: mattdj
2 Replies