Search Results

Search: Posts Made By: iAm4Free
3,546
Posted By iAm4Free
It didn't work for me :(
It didn't work for me :(
3,546
Posted By iAm4Free
Grepping 1 line above and below pattern
I have a pattern::

xldn3176bap>arj SOCRATES_MAIN_LNX | grep " FA "
10/04/2007 21:01 10/04/2007 21:01 FA 1776752/1 1

I want the line above this line and the line...
4,016
Posted By iAm4Free
Thanks its very clear explanation!
Thanks its very clear explanation!
4,016
Posted By iAm4Free
Can you explain why whe need to put it in double...
Can you explain why whe need to put it in double quotes pls.
4,016
Posted By iAm4Free
Thanks !!! Way to go it works :)
Thanks !!! Way to go it works :)
4,016
Posted By iAm4Free
Awk variable replacement
I have a function

awkvarrep() {
awk -F'|' '$1~/$1/{printf "%-10s %-30s %-15s %-30s %-15s\n", $2,$3,$4,$5,$6}' testfile
}

I'm calling it by this
VARREP=XYZ
awkvarrep $VARREP

since i'm...
25,846
Posted By iAm4Free
Thanks for the help everyone...
Thanks for the help everyone...
143,277
Posted By iAm4Free
Can you tell me why its this "cat - text" It...
Can you tell me why its this "cat - text" It didn't work without the "-" The subject was empty. Sorry I might be asking a dumb question...
143,277
Posted By iAm4Free
Thanks dude I was also looking for something like...
Thanks dude I was also looking for something like this!!!
25,846
Posted By iAm4Free
Crontab Check
Hi I have put a script which runs in my Cron in Unix.

I would like to know whether that script has executed successfully or not. Can anyone tell me how I can do that?

Thanks,
iAm4Free
1,593
Posted By iAm4Free
Server>set a=$b Server>b=30 Server>echo $a ...
Server>set a=$b
Server>b=30
Server>echo $a
30
3,186
Posted By iAm4Free
Hey Johnson thanks... But I already submitted...
Hey Johnson thanks... But I already submitted what I was supposed to do in a long way. I did a mv -f the filename from src and dest directories using the mkdir -p command to see if a directory...
3,186
Posted By iAm4Free
Moving Files
Hi There,

I am trying to move files, the file is present in this location:

/iAm4Free/test/generate/txt/information.txt

I need to move it to:

/iAm4Free/test1/generate/txt/information.txt
...
10
16,271
Posted By iAm4Free
Thanks :) I need to learn Awk!!!!
Thanks :) I need to learn Awk!!!!
10
16,271
Posted By iAm4Free
I don't know awk but it sure looks interesting!!!...
I don't know awk but it sure looks interesting!!! If u could take some time and explain it woud be very happy!!!
10
16,271
Posted By iAm4Free
Cool It works!!! You guyz Rock!!!!
Cool It works!!! You guyz Rock!!!!
10
16,271
Posted By iAm4Free
I get this server>echo $abc | sed "s;/;/\\ ?...
I get this
server>echo $abc | sed "s;/;/\\
? ;g" | grep -c /
7
server>echo $abc | sed "s;/;/\\ ;g" | grep -c /
1

It works when its in two lines but when i put it in one line it dosent! Can u...
10
16,271
Posted By iAm4Free
Grep -c
echo $abc
/abc/def/ghi/jkl/mno/pqr/abc.txt

echo $abc | grep -c '/'
output - 1

but it should be 7

Why is this happenning?

I would like to count the number of occurrences of the character...
Showing results 1 to 18 of 18

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