Search Results

Search: Posts Made By: Nandagopal
18,692
Posted By Nandagopal
I tried using ASCII mode. But even though I'm not...
I tried using ASCII mode. But even though I'm not able to get that blank line

If we give two blank lines at the end of the file in windows, then we can able to get one blank line in unix.
It is...
18,692
Posted By Nandagopal
file transfer from windows to unix using ftp
Hi all,

I have a file in windows, example
a.txt
****
aaa
bbb
ccc
<empty line>

when i transfer this file to unix using ftp, and viewed the file
# vi a.txt
aaa
bbb
ccc
#
I dont get...
2,107
Posted By Nandagopal
Looking for software.
Hi all,

Right now i am using Windows XP OS. I want to execute all the unix commands under this environment. Is there any software for executing unix commands in Windows.

regards
NG
3,127
Posted By Nandagopal
Append values before a string
hi all,
i have variables a and b with values, like
a="/var/tmp/new.sh /var/tmp/new2.sh"
b="/TEST"

how i need to append the value "/TEST" before the values for the variable "a" so that i get...
1,464
Posted By Nandagopal
Ignore commented lines and lines which as "/"
Hi all,

I have a file like file1.txt
contents in file1.txt
==============
#paths
/opt/new/sample1.sh
/var/opt/new1/sample2.sh
/
#

here ,
i need to omit the lines which is commented...
10,043
Posted By Nandagopal
Hanling values in while loop
Hi,
i have a scenario like
file 1
aaa=ddd
bbb=ccc
ccc =ddd
file 2
aaa=mmm
ttt=yyy
bbb=ggg

using awk function i get the key values for file1 (aaa,bbb,ccc)

sample code
------------...
2,273
Posted By Nandagopal
How to check the repeated values in a file using bourne shell
Hi all,

I have a scenario, like consider a file abc.txt,
inside abc.txt, the contents is
value1 = aaa,
value2 = bbb,
value3 = ccc,
value1 = ddd.

In this situation i need to throw an...
1,430
Posted By Nandagopal
Pattern matching for following conditions
Hi all,
i want a pattern which satisfies the following conditions like
a-z
A-Z
0-9
/ or _
and it's limit of 64 characters
since i tried using
$1="/var"
grep -E '[A-Za-z0-9]{64}' "$1"
...
Forum: Solaris 02-09-2009
1,621
Posted By Nandagopal
Re:How to get the path during runtime?
Thank u vgesh99

It works well..
Forum: Solaris 02-09-2009
2,585
Posted By Nandagopal
How to get the path during runtime?
Hi guys,

I have commands like
/solaris/opt/VRTS/bin/vxdisk
/opt/VRTS/bin/vxdisk

From these two commands, i need to get the directory path value before /VRTS/bin/vxdisk at runtime.
e.g ...
Showing results 1 to 10 of 10

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