9 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hello Everyone ,
Iam a newbie to shell programming and iam reaching out if anyone can help in this :-
I have two files
insert.txt looks like this :-
insert into emp1 partition (partition_name)
c4, (2 Replies)
Discussion started by: nubie2linux
2. Shell Programming and Scripting
How do I go about amending this simple script that prompts for a yes/no response so that if neither Y or N are entered it will loop back back to the original prompt
echo "Enter yes of no"
echo "You selected yes"
echo "You selected no"
elif... (5 Replies)
Discussion started by: gmears
3. Shell Programming and Scripting
just want to ask how you do this?
a="b=abc def ghi"
c=<all the strings after b=>
output will be
abc def ghi
thanks!! (1 Reply)
Discussion started by: h0ujun
4. Shell Programming and Scripting
The question is not as simple as the title... I have a file, it looks like this
<string name="string2">Version 2.0</string>
I would like to check for duplicate entries of... (11 Replies)
Discussion started by: raidzero
5. UNIX for Dummies Questions & Answers
should be a very easy questn for you:
I need to delete strings in file1 based on the list of strings in file2.
word1_word2_otherwords..,word3_word5_others... (7 Replies)
Discussion started by: roussine
6. Shell Programming and Scripting
while + and equal to zero ; then
what to punt instead of phrase and equal to zero.
thank you in advance (1 Reply)
Discussion started by: losh
7. Shell Programming and Scripting
Does anybody understand why this is not being interpreted as true.
errored=`grep "errored" new_update_scripts.txt`
echo $errored = "errored"
if ; then
errored = errored
false (7 Replies)
Discussion started by: scottwmackey
8. Shell Programming and Scripting
I have the below script executed
if "$arg" = "dir"
Please let me know what happens in the if command.
My output is:
dir: dir: No such file or directory
which is not the desired output.
When i used test command... (1 Reply)
Discussion started by: anijan
9. Shell Programming and Scripting
I have the following line to text:
ExecuteQueue Name=default ThreadCount=60
I want to write a sed or awk function that eliminates everything before "ThreadCount" without taking into account what is actually in front of ThreadCount. Meaning there may be text in front of "ThreadCount" other... (6 Replies)
Discussion started by: ArterialTool