Search Results

Search: Posts Made By: bashshadow1979
7,548
Posted By bashshadow1979
Multiple conditions
Im sorry for not using the code tag, I will next time

What I'm trying to do is to have a script where I can send one parameter and based on that parameter execute a function.

if the script...
7,548
Posted By bashshadow1979
multiple if conditions
Guys, Im trying to have a script that evaluates multiple conditions :

test.sh:

if [ $1 = "brazil1" ]
then
echo "host $1"
else
if [ $1 = "brazil2" ]
then
echo "host $1"
else
echo $1 not...
2,498
Posted By bashshadow1979
thanks
thank you so much i think that did it
2,498
Posted By bashshadow1979
Writing files without temporary files
Hey Guys,

I was wondering if someone would give me a hand with an issue I'm having, let me explain the situation:

I have a file that is constantly being written to and read from with updated...
20,927
Posted By bashshadow1979
I thought about that, but it takes forever... the...
I thought about that, but it takes forever... the files that I'm working with are quite large.

Is there a better way to accomplish this?

Thanks again!

Dave
20,927
Posted By bashshadow1979
Remove lines based on contents of another file
So, this issue is driving me nuts! I was hoping to get a lending hand here...

I have 2 files:

file1.txt contains:
this is example1
this is example2
this is example3
this is example4
this...
1,425
Posted By bashshadow1979
Thank you SO much! that did it!!
Thank you SO much! that did it!!
1,425
Posted By bashshadow1979
Simple bash question - 2 files together
Hello Friends,

I have a simple problem but I can't seem to find a solution, perhaps you could gimme a hand here..

I have to files

1.txt which contains the following
00
01
02
03

and...
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 01:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy