Total Newbie help getting sarted...


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Total Newbie help getting sarted...
# 1  
Old 03-14-2006
Total Newbie help getting sarted...

Basically i am not looking for you guys to write the script for me but help me understand how to write it and point me in the write direction.

I can see what i want to do, just having trouble putting it into shell.

I have a file Blah.txt with 400 DN's in it. I need to modify two attributes on each DN. I figured i can write a script to get the LDIF setup, save it and then excute it.

heres what i have come up with.

for DN in 'cat blah.txt'
Do append to
#LDIF File
#Save File
#Excute LDIF
Done
tar/gz file

Does that make any sense...

Thanks
--CD (the newbie)
# 2  
Old 03-14-2006
Hi,

perhaps you can post an example of the input and an example of the expected output?
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

I have this box thing, total newbie here can someone explain?

Hey guys, I'm really new to all this side of computing and have just had this box sort of left with me and it peaked my curiosity. So i would up here in a desperate bid to find out what the hell it is because although its sort of obvious what it is, no where online is able to give me a detailed... (5 Replies)
Discussion started by: anthony346
5 Replies

2. Shell Programming and Scripting

Help with sum total number of record and total number of record problem asking

Input file SFSQW 5192.56 HNRNPK 611.486 QEQW 1202.15 ASDR 568.627 QWET 6382.11 SFSQW 4386.3 HNRNPK 100 SFSQW 500 Desired output file SFSQW 10078.86 3 QWET 6382.11 1 QEQW 1202.15 1 HNRNPK 711.49 2 ASDR 568.63 1 The way I tried: (2 Replies)
Discussion started by: patrick87
2 Replies

3. Shell Programming and Scripting

Calculate total space, total used space and total free space in filesystem names matching keyword

Good afternoon! Im new at scripting and Im trying to write a script to calculate total space, total used space and total free space in filesystem names matching a keyword (in this one we will use keyword virginia). Please dont be mean or harsh, like I said Im new and trying my best. Scripting... (4 Replies)
Discussion started by: bigben1220
4 Replies

4. Shell Programming and Scripting

perl newbie . &&..programming newbie (question 2)

Hello everyone, I am having to do a lot of perl scripting these days and I am learning a lot. I have this problem I want to move files from a folder and all its sub folders to one parent folder, they are all .gz files.. there is folder1\folder2\*.gz and there are about 50 folders... (1 Reply)
Discussion started by: xytiz
1 Replies

5. UNIX for Dummies Questions & Answers

UNIX newbie NEWBIE question!

Hello everyone, Just started UNIX today! In our school we use solaris. I just want to know how do I setup Solaris 10 not the GUI one, the one where you have to type the commands like ECHO, ls, pwd, etc... I have windows xp and I also have vmware. I hope I am not missing anything! :p (4 Replies)
Discussion started by: Hanamachi
4 Replies

6. UNIX for Dummies Questions & Answers

grep running total/ final total across multiple files

Ok, another fun hiccup in my UNIX learning curve. I am trying to count the number of occurrences of an IP address across multiple files named example.hits. I can extract the number of occurrences from the files individually but when you use grep -c with multiple files you get the output similar to... (5 Replies)
Discussion started by: MrAd
5 Replies

7. Shell Programming and Scripting

total newbie

Hi everyone... i'm starting to learn kshell scripting... my first task is to write a script that would execute some mysql statements to query some data, to transfer it into a file for record basis... Anyone has any samples to share? or perhaps some tips here and there? Thanks in advance...... (2 Replies)
Discussion started by: 12yearold
2 Replies

8. UNIX for Dummies Questions & Answers

Server Error 500. Total Newbie. Ugh.

Hi everybody... I'm trying to run some very simple cgi scripts on my server whilst I learn perl. Today is day 3 of that process, so I apologize in advance for not having enough knowledge to ask the right questions. Any program I try to execute gives me an Internal Server Error (500) message.... (4 Replies)
Discussion started by: paqi the black
4 Replies

9. UNIX for Dummies Questions & Answers

is this the UNIX operating system board? TOTAL NEWBIE

I'm trying to find information to help me switch to UNIX os from Windows98. Is this where I should be? If so, can someone get me started? I have a Compaq Presario 5030 with a USR 56k modem and other peripherials. Sound card is integrated onto the motherboard (I think). So, I need drivers, etc. Any... (2 Replies)
Discussion started by: leohutt
2 Replies
Login or Register to Ask a Question