Search Results

Search: Posts Made By: fdc2suxs
1,949
Posted By fdc2suxs
Hello Guy I specified the path and it...
Hello Guy

I specified the path and it worked fine. Thanks for the help

Regards
1,949
Posted By fdc2suxs
time format
Hello Guys.

I have copied the following from the time man pages

time -f "%E real,%U user,%S sys" ls -Fs

But I am getting
-f: command not found

Regards
1,570
Posted By fdc2suxs
Thanks
Thanks
1,570
Posted By fdc2suxs
Command not found
Hello Guys

I have the following function in an existing library,
what verbose means ?
also why msg='['`date` "$SCRIPT_NAME] $*" give me command not found?


SCRIPT_NAME="plapla"...
Forum: Ubuntu 04-29-2011
2,640
Posted By fdc2suxs
ssh login cvs
Hello,

I want to access a cvs server but I need to specify another user name i.e

suppose that my user account is AAA and I can log on to the cvs server using another account BBB i.e
...
2,047
Posted By fdc2suxs
thanks for the reply bartus11 I will use your...
thanks for the reply bartus11
I will use your method
Regards
2,047
Posted By fdc2suxs
In there is another way to do it without -v for...
In there is another way to do it without -v for two reasons. The files I am working on is extremely large and I am just interested to see if the pattern exist or not
i.e
Currently I am using ...
2,047
Posted By fdc2suxs
reverse matching
Hello guys

How can I use egrep to match word1 but not word2...word1.

What I mean

suppose that I have the following text, and my word1=pizza and word2=eat

I hate to eat pizza because I...
3,788
Posted By fdc2suxs
Thank you guy, I appreciate your help
Thank you guy, I appreciate your help
3,788
Posted By fdc2suxs
I am using bash, for example I have something...
I am using bash, for example I have something like that

var1 = $(grep....
var2 = $(psql

And I want to merge it together
2,297
Posted By fdc2suxs
The first code worked fine for the given example...
The first code worked fine for the given example but when I tried to use it in the log files, It did not work for some reason. The files I am working on are comma separated postgres log files.

for...
3,788
Posted By fdc2suxs
This is just a simple code, I use separate...
This is just a simple code, I use separate variable because I get them from different utilities such as a result of grep or sed and psql
3,788
Posted By fdc2suxs
Hello, Thanks for the reply, and you are...
Hello,

Thanks for the reply, and you are right. However this behavior cause a problem for me in another scenarios. it is not just only echo.
For example


var1="1 2
1 2"
var2="5 6
7 8...
3,788
Posted By fdc2suxs
Hello, I do not think it is related to...
Hello,


I do not think it is related to echo. Usually I am using echo without any problem. I think it is related on how I concatenate the variables
var4="$var1\n$var2"
2,297
Posted By fdc2suxs
Thank you very much
Thank you very much
2,297
Posted By fdc2suxs
Text search
Hello all,

I want to find all the words that comes after certain words, I need to do that in order to process some log files for example

Suppose that, I have this text

Hello, I am from...
3,788
Posted By fdc2suxs
Variable concatenate
Hello,

It might be stupid question But I will ask it any way:)


var1="1 2 3 4"
var2="5 6 7 8"

var3=$var1\ $var2
var4="$var1\n$var2"

echo "$var1"
echo "$var2"
echo "$var3"
echo...
2,782
Posted By fdc2suxs
Thanks Guys for help, and I like SQL
Thanks Guys for help, and I like SQL
2,782
Posted By fdc2suxs
Thanks, It worked. But for some reasons I get 1...
Thanks, It worked. But for some reasons I get 1 even though no match was found. Do you know the reason.

---------- Post updated at 12:05 PM ---------- Previous update was at 11:56 AM ----------
...
2,782
Posted By fdc2suxs
list length
Hello,

How can I change this code

a=$(egrep "exp" $logFiles -oh);
aCount=$(egrep "exp" $logFiles -oh| wc -l);

to something like this

a=$(egrep "exp" $logFiles -oh);
aCount = $a| wc...
Showing results 1 to 20 of 20

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