Search Results

Search: Posts Made By: tarunn.dubeyy
4,343
Posted By tarunn.dubeyy
@michaelrozar17...
@michaelrozar17 (https://www.unix.com/members/302081366.html)
I just want to exec

Code

./test.sh

I want to put some code inside in test.sh so when I execute

code

./test.sh
it...
4,343
Posted By tarunn.dubeyy
redirecting screen to file without tee
Hi All,

I need to redirect screen o/p of shell script to file , but I don't want to use "tee" :Dcommand
./test.sh 2>&1 | tee /var/tmp/testing`date +'%d%h%Y%T'`.log

but I want to write...
2,685
Posted By tarunn.dubeyy
how to remove line from /etc/vfstab using shell / perl
Hi,

could someone help me on this i want to remove line from /etc/vfstab in the system how to do that

it is rite now like this

/dev/vx/dsk/appdg1/mytestvol ...
Forum: Solaris 04-18-2010
1
3,972
Posted By tarunn.dubeyy
MPXIO
Hi Kudo,

I wanna to know that how can I do mpxio device name to os native name mapping without using stmsboot -L I tried everything still not able to got the solution till I able to get these...
2,454
Posted By tarunn.dubeyy
how first char in odd line and second char in even line
Hi

I m having ifconfig -a o/p like

sbanlab1:ksh# ifconfig -a | egrep "flags|inet" | awk -F' ' '{print $1,$2}'
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL>
inet...
10,945
Posted By tarunn.dubeyy
superb thxs danmero ,
superb thxs danmero ,
10,945
Posted By tarunn.dubeyy
If I m getting word from some script whose value...
If I m getting word from some script whose value is $i, where I don't the word likewise here where word a how to approach it ?
9,419
Posted By tarunn.dubeyy
try this also find . -type f -xdev -ls |...
try this also

find . -type f -xdev -ls | sort -nr +6 > /tmp/size.out
10,945
Posted By tarunn.dubeyy
how to replace a line in file with blank line
Hi

I nned cmd to which will help me to replace a line in file with blank line
e.g.
file1
a
b
c
d
e

after running cmd I shud get
file1
b
c
d
e
2,576
Posted By tarunn.dubeyy
thxs tyler_durden for idea this how I implement...
thxs tyler_durden for idea this how I implement it

looks good but I have given seq of file in automate , redirected the error in /var/tmp/error file but , is it possible to find to line no./...
2,576
Posted By tarunn.dubeyy
logic for executing defined seq in file and cmd in file
I have four files a,b,c,d which need to contain certain in the sequence a, b, c ,d , each file command which needs to be executed,

what i m in need is that to executed file and cmd...
2,135
Posted By tarunn.dubeyy
not working o/p is blank now 1:ksh#...
not working o/p is blank now

1:ksh# vxassist -g appdg1 maxsize |awk -F"[(Mb)]" '{print $3}'

1:ksh#
2,135
Posted By tarunn.dubeyy
quiet a complex syntax , if u don't mind ranjith...
quiet a complex syntax , if u don't mind ranjith could please explain wat exactly this syntax is doing

I try digging man pages wasn't successful


s/\(.*(\)\([0-9].*\)\(Mb.*\)/\2/

regrds ...
2,135
Posted By tarunn.dubeyy
extracting desired value from cmd o/p
Hi

I m using vxassist cmd to get avaialbe space in DG o/p is like this, wat I need is only numeric value of the o/p , I have a solution is anyone can provide better

x1# vxassist -g appdg1...
2,654
Posted By tarunn.dubeyy
thxs again
thxs again
2,654
Posted By tarunn.dubeyy
u guys nevermind if tell me that wat does it...
u guys nevermind if tell me that wat does it mean, this some specfic syntax

arr[$1] = arr[$1] + $3}END
2,654
Posted By tarunn.dubeyy
thxs in load fixed my prob...... regards ...
thxs in load fixed my prob......

regards
TaD
2,654
Posted By tarunn.dubeyy
merging line and adding number
I having file below o/p

ibapp311dg,,20480,s,,,,,,,,,
test,,20480,s,,,,,,,,,
test,,20480,s,,,,,,,,,
ibapp311dg,,20480,s,,,,,,,,,

I want to to chk unique word line in the first field...
Showing results 1 to 18 of 18

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