10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
This should be extremely simple and someone will probably answer it in .5 seconds. I need to know what:
does? I do not have a shell handy to just try it in. I am reading through some scripts and need to understand this line. Any help is appreciated.
-... (3 Replies)
Discussion started by: chrisgoetz
2. Shell Programming and Scripting
I am new to shell scripting and have been looking at quite a few web pages to try and figure this out, but to no avail.
What I am trying to do is get a value from a text file that contains a paragraph of information.. Something similar too:
Welcome to random script
You are... (1 Reply)
Discussion started by: elemenopee
3. Shell Programming and Scripting
My first post here....
I have a few years exp with linux distros and some very basic Python..Ive been intent on learning shell scripting the last few weeks. Please excuse my crude efforts.
I am running a program that takes network data containing US city names in plain text. I am TRYING to... (7 Replies)
Discussion started by: dddkkk
4. Shell Programming and Scripting
How to check weather a string is like test* or test* ot *test* in if condition (5 Replies)
Discussion started by: johnjerome
5. Shell Programming and Scripting
This is the code:
while test 1 -eq 1
if test $a = stop
I read a command on every loop an execute it.
I check if the string equals the word stop to end the loop,but it say that I gave too many arguments to test.
For example echo hello.
Now the... (1 Reply)
Discussion started by: Max89
6. UNIX for Dummies Questions & Answers
In my script, i am reading the input from the user and want to find the length of the string.
The input may contain leading spaces. Right now, when leading spaces are there, they are not counted.
Kindly help me
My script is like below. I am using the ksh.
echo... (2 Replies)
Discussion started by: dayamatrix
7. Shell Programming and Scripting
This is probably a really simple problem, but goes easy on me I'm still a newb. The problem I have is that a script (we'll call it script.script) I edited won't run for some reason, I get the error "ksh: script.script: not found"
The location of my script is as follows: /home/users/arkitech
... (3 Replies)
Discussion started by: Arkitech
8. Shell Programming and Scripting
Hi guys, I hope you can help me with my problem.
I have a text file that contains lines like this:
78 ANGELO -809.05
79 ANGELO2 -5,000.06
I need to find all occurences of amounts that are negative and replace them with x's
78 ANGELO xxxxxxx
79... (4 Replies)
Discussion started by: amangeles
9. UNIX for Dummies Questions & Answers
I don't even know if this should go here but I just would like to know what this means:
I know absolutely nothin' about UNIX, and I found this in a SQL table in a board I run.
Someone please tell me what that is in "normal" mode.
Pardon me for my... (4 Replies)
Discussion started by: daeglin
10. Shell Programming and Scripting
I know this is a total begginer question but what is wrong with this picture. My loop wont loop, it just drops me back to the prompt and gives the error "unary operator expected". Any help would be appreciated.
here it is,
cat << MENU
1)List files in... (2 Replies)
Discussion started by: Fokus