Search Results

Search: Posts Made By: girish1428
9,485
Posted By girish1428
Thanks Corona / Vgresh, But before seeing...
Thanks Corona / Vgresh,

But before seeing your post, I converted the script to CSH and it runs fine in crontab.

Thanks very much.
9,485
Posted By girish1428
Thanks Corona, I tried the following at the...
Thanks Corona,

I tried the following at the top of the script but they didn't resolve the issue:

. /etc/profile



LD_LIBRARY_PATH=`extendpath $LD_LIBRARY_PATH...
9,485
Posted By girish1428
Problem with running the "autorep" command via crontab
Hi,
The user "MadeInGermany" tried to help on the below post by saying "This has been asked before; see the links below.
Get your current LD_LIBRARY_PATH and redefine that in your ksh script!
" ...
2,990
Posted By girish1428
Autorep command does not work from crontab !
Hi,

I have written a ksh script and I'ma using the following command in it:

autorep -j %abcd% | grep RU | grep BOX1

The script works fine when executed manualy on the command prompt. But...
7,472
Posted By girish1428
Sorry, please close this post. I do not need this...
Sorry, please close this post. I do not need this information. Thanks.
7,472
Posted By girish1428
How to check count of rows in excel sheet in Unix
Hi,

Would anyone be able to tell me how to check the number of rows in an excel sheet on unix box, please?

Cheers,
Girish.
21,759
Posted By girish1428
Count of a.csv is 4 and count of a.txt should be...
Count of a.csv is 4 and count of a.txt should be 4 as both have 4 rows.

Is there any command or way so that I get the count of a.txt as 4, please?

wc -l will not work here for a.txt as it gives...
21,759
Posted By girish1428
The file a.txt is encoded due to the command...
The file a.txt is encoded due to the command uuencode.
Hence the count of a.csv does not match a.txt using the following:

wc -l a.txt
# the abouve count is not equal to the below
wc -l a.csv
...
21,759
Posted By girish1428
Find count of rows in excel sheet in Unix
Hi,

Is there a way to find the count of number of rows of a.txt please? Where a.txt is as follows:

/usr/bin/uuencode /tmp/a.csv a.csv > /tmp/a.txt
#a.csv is a comma separated variable file
...
2,828
Posted By girish1428
Sorry, I thought the solution is to replace " by...
Sorry, I thought the solution is to replace " by """" in CSV. But that seems to not be the solution as the excel also shows """". I think I might have to go to some excel forums as this seems to be...
2,828
Posted By girish1428
sed 's/\"/\\\"/g' a.csv >> a_tmp.csv mv...
sed 's/\"/\\\"/g' a.csv >> a_tmp.csv
mv a_tmp.csv a.csv



Using the above

aaa,aaa,aaaaaa,aaaaaaaaa,aaaaaaaaaaa,"aaaaaaaaaaa (in CSV)

is seen as the following in notepad

...
2,828
Posted By girish1428
Thanks for the suggestions but I tried this...
Thanks for the suggestions but I tried this already and it does work. But unfortunately I need to keep the quote mark as it is ! :(
2,828
Posted By girish1428
Hi Corona, Here is an example: ...
Hi Corona,

Here is an example:

1,Jack,a,cdef,23,w1e2r3t4,"Martin
.
.
30,Howard,a,bjoa,28,1m0df5s9,Joel
.
.

43,Sunil,a,xhst,45,x4z3v8c9,"Girish

Notice that...
2,828
Posted By girish1428
csv to xls : missing rows
A unix script generates a file "1.csv". I use the following to email this as an excel sheet.


/usr/bin/uuencode /tmp/1.csv 1.csv > $PATH/attachment.txt
mailx -r abc@domain.com -s "Subject"...
1,454
Posted By girish1428
csv file to excel issue
Hi,

I am trying to attach and email a csv file in the form of an excel sheet.
And I have been successful in doing this.

But after some days I realised that some fields in the csv file are...
Forum: Red Hat 09-14-2009
8,818
Posted By girish1428
Thanks Nuke, but I think I will try for some more...
Thanks Nuke, but I think I will try for some more time...
Forum: Red Hat 09-14-2009
8,818
Posted By girish1428
I have attached some files which contain the o/p...
I have attached some files which contain the o/p of the following commands:

lspci
lspci -nlsmod
dmesg

[root@localhost ~]# uname -r2.6.18-53.el5

dmesg | grep firmware gave out nothing
Forum: Red Hat 09-13-2009
8,818
Posted By girish1428
I did a lsmod. I got a long list which didnt seem...
I did a lsmod. I got a long list which didnt seem to have the wireless drvice or its driver info.
Then I found the path of ndiswrapper.ko and ran insmod <path>
The device was still not brought up...
Forum: Red Hat 09-13-2009
8,818
Posted By girish1428
Duke, Yes, I think it is wlan0. When I...
Duke,

Yes, I think it is wlan0.
When I start linux in the interactive mode, I can see that eth0 and some other network devices are brought up but the wlan0 device fails to be brought up.

The...
Forum: Red Hat 09-12-2009
8,818
Posted By girish1428
Hi Duke, I am not sure if ndsiwrapper is...
Hi Duke,

I am not sure if ndsiwrapper is required.
I saw an alternate method (may be the right method) at Intel® PRO/Wireless 3945ABG Driver for Linux (http://ipw3945.sourceforge.net/)
But I...
Forum: Red Hat 09-12-2009
8,818
Posted By girish1428
wireless internet on redhat linux ?
Hi,

Could some please help me in configuring wireles internet on redhat linux installed on my laptop.

When I booted using windows, I saw the following, which I think is the name of my laptop's...
1,921
Posted By girish1428
wireless internet on redhat linux ?
Hi,

Could some please help me in configuring wireles internet on redhat linux installed on my laptop.

When I booted using windows, I saw the following, which I think is the name of my laptop's...
2,195
Posted By girish1428
wireless internet on redhat linux ?
Hi,

Could some please help me in configuring wireles internet on redhat linux installed on my laptop.

When I booted using windows, I saw the following, which I think is the name of my...
3,335
Posted By girish1428
This might work... awk...
This might work...




awk 'NF=0{print NR}' file1 >> blank_line_numbers
for i in `cat blank_line_numbers`
do
insert_line=`head -$i file2 | tail -1`
sed 's/^$/$insert_line/$i' file1 >>...
3,240
Posted By girish1428
Please test and try this.... for i...
Please test and try this....



for i in `find /user/home/ -type f`
do
sed "s/abcd/xyz/g" $i > temp; mv temp $i;
done
Showing results 1 to 25 of 36

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