10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Oracle Linux : 6.4/bash shell
In the below I want to break out of the loop when it enters the 5th iteration.
for i in 1 2 3 4 5 6
echo "Oh Nooo... i = $i. I need to stop the iteration and jump out of the loop"
But, it only... (3 Replies)
Discussion started by: John K
2. UNIX for Dummies Questions & Answers
Sorry if this is a newbie question. I guess you can use either awk or shell script for this sequence of operations, but knowing very little about either of them I'm not sure how I should try to write this.
The basic objective is to copy certain files that are scattered all over my... (10 Replies)
Discussion started by: pc2001
3. Shell Programming and Scripting
I need to read input from a file, and make sure nothing prints after column 72.
basically, ignore input after character 72 until the next newline character.
Any help is appreciated. I have been searching forever! (10 Replies)
Discussion started by: Gbear
4. Shell Programming and Scripting
I am very new to this forum, can any one tell me which is the very basic certification on unix shell scripting?
please give me an advice on this. (1 Reply)
Discussion started by: Manjesh
5. Shell Programming and Scripting
Howdy People :),
I'm a newbie & its my first question here. I've started learning Unix Bourne Shell scripting recently and struggling already :p Can someone PLEASE help me with the following problem. Somehow my script is not working.
Display an initial prompt of the form:
Welcome to... (1 Reply)
Discussion started by: methopoth
6. Shell Programming and Scripting
I was hoping for some help with a simple script I'm trying to use. I have the script set up to pull some simple information out of a database .txt file and sed it into a preexisting template for assignment cover letters. The problem seems to be someplace in the sed statement but I... (5 Replies)
Discussion started by: BFeicht
This is quite simply what I'm trying to make:
A program that runs in a UNIX terminal that you can output text messages to from another machine. These text messages would be prepended with a customized prompt. I'd also like to have the window spew out random dumps of flavor text not... (1 Reply)
Discussion started by: AcerAspirant
8. Shell Programming and Scripting
need some help badly.
if i had a file with content of few lines like the followings.
1183724770.651 0.049 22.214.171.124 200 415 GET http://venus/client/clients.xml "text/xml"
1183724770.651 0.049 126.96.36.199 200 415 GET http://venus/client/clients.xml "text/xml"
using what command... (1 Reply)
Discussion started by: akagi07
9. UNIX for Dummies Questions & Answers
have a basic query.
Please see the below code:
list="one two three"
for var in $list ; do
Wht if I want to print only first/ last line in the list
Eg one & three
er_ashu (3 Replies)
Discussion started by: er_ashu
10. UNIX for Dummies Questions & Answers
I have absolutely no experince with either one, and would LOVE to start from somewhere! So please guide me to some web sites (beside these great forums of course!) that I can obtain n00b information. (Books, links, resources, etc.)
What software OS? should I begin with? I have heard... (2 Replies)
Discussion started by: CodeHunter