Computing.Net > Forums > Unix > Creating and maintaning a database

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Creating and maintaning a database

Reply to Message Icon

Name: tkwai
Date: November 22, 2002 at 01:38:54 Pacific
OS: Unix
CPU/Ram: Bourne Shell
Comment:

i was given a task to create a simple database and also maintaining it with bourne shell. i must at least able to add, delete, search, update and also generate a report listing. i'm still new to unix so i'm really stuck right at the beginning. i dont know where to start at all. i've did some search in searh engines and found out the command ndbm and dbm that can be used. but i read the man and still can't figure it out how it works. can anyone out there please give me some pointers , links, examples or solutions to my problem? Thanks in advance.



Sponsored Link
Ads by Google

Response Number 1
Name: David Perry
Date: November 22, 2002 at 04:29:20 Pacific
Reply:

www.mysql.com may be overkill for your current need but it is a great open source rdbms. easy to manage from a command line.


0

Response Number 2
Name: tkwai
Date: November 22, 2002 at 08:54:37 Pacific
Reply:

mysql is really too much for me. i was looking at any bourne script that i can run from unix? is there any commands ?

i found this from search engine.
http://www.yendor.com/programming/unix/apue/ch16.html

but then i don't know how to make it work. anyone can help me out?


0

Response Number 3
Name: David Perry
Date: November 22, 2002 at 11:14:01 Pacific
Reply:

Hash tables ( probably what this lib is referring to ) are commonly used in system db tables like /etc/mail/access.db where simple keys and not lots of records are OK. Are those conditions acceptable ?


0

Response Number 4
Name: tkwai
Date: November 23, 2002 at 00:04:41 Pacific
Reply:

hie david,

you got to help me out by giving more info. this is because i'm really a newbie in unix. i tried accessing the /etc/mail/access.db but i only got /etc/mail/aliases.db in here. i just want to know is there any specific commands in unix where u can create a database. and then adding datas, search,delete and update it. or do i have to write scripts for it? can someone give me examples so that i can refer to? please help a newbie here! thanks


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: Creating and maintaning a database

Write a command, (commands), www.computing.net/answers/unix/write-a-command-commands-/2270.html

how to unzip and find a file? www.computing.net/answers/unix/how-to-unzip-and-find-a-file/8343.html

Re:Accept processing www.computing.net/answers/unix/reaccept-processing/1668.html