Search Results

Search: Posts Made By: thumsup9
11,830
Posted By thumsup9
Grep and extract the characters after
Hi All,

I have lines like below in a file

A /u/ab/test1.dat
A/u/ab/test2.dat
A /u/bb/test3.dat
A/u/cc/test4.dat

I will need

/u/ab/test1.dat
/u/ab/test2.dat
/u/bb/test3.dat...
9,616
Posted By thumsup9
find and group records in a file
Hi,
I have this file which has 3 columns, District , stores and unit. What I want is all rows belonging to one district to be created separately under each district, the districts may vary every...
1,550
Posted By thumsup9
Thanks Vgersh !
Thanks Vgersh !
1,550
Posted By thumsup9
Splitting the input value
Hi,

I have a Variable Char field coming whose value looks like below

562432569856

I need to extract 2 characters from it till the end and put it elsewhere

say

56
24
32
56
98
56
...
2
2,290
Posted By thumsup9
Thanks Jim,,Actually nothing was wrong with what...
Thanks Jim,,Actually nothing was wrong with what I was doing earlier i.e Sort and Diff ..The Source File to which I was comparing my target file was dynamic,I mean to say its a production file and...
1,436
Posted By thumsup9
you are right,The filename had a space when I...
you are right,The filename had a space when I created it..Hmm and i was pulling it without knowing that,thou i figured it out later.So stupid of me,thanks alot thou.
1,436
Posted By thumsup9
no such file or dir
The File exists and i can see it when ls.size is 96608305.how should i open it.
when i say more file1 it says (no such file or dir)

Thanks
2
2,290
Posted By thumsup9
sort
Sort file1 > tmp1
Sort file 2> tmp2
diff tmp1 tmp2

file1 is source mapped to file2.just simple map using etl.
jus trying to diff and see they match.
The no of fields are same in both and in...
1,826
Posted By thumsup9
Will be bak
Thanks All, I was really busy figuring out similar pbm at my work place, will let you know my feedbak asap
1,826
Posted By thumsup9
sed or an awk script should help
num desc ind code

11 hi,feather y food
121 edible,oil y food
100 ...
4,623
Posted By thumsup9
also when am accessing the folder...
also when am accessing the folder var/spool/cron/crontab or atjobs,the error msg is the same.

Thanks.
4,523
Posted By thumsup9
grep [-f pattern_file] $SQLFILE reads one or...
grep [-f pattern_file] $SQLFILE
reads one or more patterns from patternfile. Patterns in patternfile are separated by newlines.so, write all the patterns you are searching for in a file and use the...
2,781
Posted By thumsup9
Thanks Ygor,will check it!!
Thanks Ygor,will check it!!
4,623
Posted By thumsup9
var/adm/cron
Hi,

Here im using WinSCP and looking into the remote dir var/adm/cron and I get the following error.Is this bcoz i dont have admin privileges:

Cannot get real path for '/var/adm/cron'....
3,866
Posted By thumsup9
The oracle client has the network libraries...
The oracle client has the network libraries (DLLs) necessary to connect to the Oracle DBMS.Anything without it, may be someone can share more on this.
2,239
Posted By thumsup9
that should work rm "tb lsv.csv" check...
that should work

rm "tb lsv.csv"

check this:
http://kb.indiana.edu/data/abao.html?cust=192880.13921.30
2,781
Posted By thumsup9
Stored Procedures
Dear friends,

can anyone suggest links for online books on stored procedures in oracle.


Cheers,
8,817
Posted By thumsup9
One more: http://freebooks.by.ru/UNIX.html ...
One more:

http://freebooks.by.ru/UNIX.html

sam's teach youself shell programming in 24 hrs.
35,751
Posted By thumsup9
Absolutely ! You are indeed with the best group.
Absolutely ! You are indeed with the best group.
3,328
Posted By thumsup9
Nicole: At the prompt type $ vi...
Nicole:

At the prompt type
$ vi myscript.ksh
paste the code here (paste by right click on ur mouse)
now do ESC + SHIFT :
enter wq!
$ . myscript.ksh

BTW thanks vgersh.
3,328
Posted By thumsup9
Vgersh can we use this way ex - "${file}" |...
Vgersh can we use this way

ex - "${file}" | s/ <!--#include file="photo_main_site.html"--> //g
6,449
Posted By thumsup9
Good catch....don
Good catch....don
6,449
Posted By thumsup9
one other way: go to the user's ...
one other way:
go to the user's
".bash_profile" and adding in the line "exit" at the very end of the file.
It will act like it is starting a telnet session, then will drop them.

...
2,022
Posted By thumsup9
may be this will help your cause #!/bin/ksh ...
may be this will help your cause

#!/bin/ksh
#list files
ls -l > file
let i=1
while read file; do
filenames[$i]=$file
let i=$i+1
print $i
done < file
let j=1
while [ $j -le $i ]
do
echo...
45,124
Posted By thumsup9
The best way I would do this is to save .xls as...
The best way I would do this is to save .xls as .csv file and then delete watever is not needed and then ftp this.
I feel you need to provide more info on this which will make others to help you...
Showing results 1 to 25 of 97

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