Search Results

Search: Posts Made By: vikashtulsiyan
1
1,394
Posted By vikashtulsiyan
[help]
i want to capture only location details, (abc & def in this example) from a file.
The beginning of file may contain anything. The the column heading(Location Vendor ....)


File:
# there can be...
Forum: Solaris 06-18-2008
2,426
Posted By vikashtulsiyan
HELP with postinstall script
i want to postinstall script in ksh. but it seems postinstall script runs only in "sh". commands like set -A (for arrays) which are perfectly acceptable in ksh gives an error when run on postinstall...
Forum: Solaris 06-16-2008
4,384
Posted By vikashtulsiyan
disks in solaris
whats the command to find name of all disks. Is it iostat -En ?
5,938
Posted By vikashtulsiyan
its because most of the code is same. Just a 2...
its because most of the code is same. Just a 2 messages on screen. if i write two goals that will mean duplicating the whole code minus those two statement.

I triesd.. $@ works but then i only...
5,938
Posted By vikashtulsiyan
How to read arguments to make command
In the make file

update updateq:
-------------------
----------

i want the makefile to display some messages when user gives "make update", but totally quite wehn user enters...
Forum: Solaris 05-26-2008
13,847
Posted By vikashtulsiyan
am sure u can do the same using "bash"...
am sure u can do the same using "bash" too
1,482
Posted By vikashtulsiyan
obviously we cant tell whats the use of -e option...
obviously we cant tell whats the use of -e option without knowing the code of run_script.ksh. you have to put the source code of run_script.ksh
Forum: Solaris 05-15-2008
11,701
Posted By vikashtulsiyan
SUN has released a new product Service Tool...
SUN has released a new product Service Tool Bundle. it is basically a installation script which install many applications like Servicetags, Explorer, sneep. You need not bother about adding these...
Forum: Solaris 05-15-2008
9,622
Posted By vikashtulsiyan
SUN can view your explorer output with there...
SUN can view your explorer output with there parsing tools. you have to do it by going to the output directory and reading the output of each command.
It is not as bad as it sounds. All system...
Forum: Solaris 05-15-2008
130,402
Posted By vikashtulsiyan
tar xvf {filename} will tar the file in current...
tar xvf {filename} will tar the file in current directory.
If you want to extract in some other directory, cd to that directory and type
tar xvf {PATH}/{filename}
and the untarred file will be...
Forum: Solaris 05-06-2008
7,199
Posted By vikashtulsiyan
The reason i asked this question in this forum is...
The reason i asked this question in this forum is that it is behaving bit unpredictably on my system. I have a big application which got duplicate cron entries. SOmetimes it just runs once while...
Forum: Solaris 05-06-2008
7,199
Posted By vikashtulsiyan
Duplicate crontab entries
hi guys. can someone tell me what will happen if there are two identical crontab entry for an application. For example
03 23 * * 1 /usr/vt/crondemo
03 23 * * 1 /usr/vt/crondemo

will the file...
41,059
Posted By vikashtulsiyan
am not creating a makefile. And the previous...
am not creating a makefile. And the previous solution works great.
Thanks for ur help anyways
41,059
Posted By vikashtulsiyan
thanks man, It works for most cases. But...
thanks man,
It works for most cases. But suppose if i give
cat nofile 3>&1 1>&2 2>&3) | tee /dev/tty > err.log


cat: cannot open nofile
is shown on screen only but not on err.log file

IS...
41,059
Posted By vikashtulsiyan
no man. The requirement is this. while...
no man. The requirement is this.

while running an application I have to print STDERR messages both on screen(STDOUT) and file at the same time while the normal STDOUT messages should be on screen...
41,059
Posted By vikashtulsiyan
it doesn't work:( it neither print the ERROR...
it doesn't work:(
it neither print the ERROR messages on the screen nor on file
41,059
Posted By vikashtulsiyan
Redirecting STDERR message to STDOUT & file at same time
Friends
I have to redirect STDERR messages both to screen and also capture the same in a file.
2 > &1 | tee file works but it also displays the non error messages to file, while i only need error...
Forum: Solaris 02-07-2008
21,948
Posted By vikashtulsiyan
When i type iostat -iE on my solaris 9 or 10 i...
When i type iostat -iE on my solaris 9 or 10 i get

bash-3.00# iostat -iE
sd0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: FUJITSU Product: MAP3367N SUN36G Revision: 0401 ...
Forum: Solaris 02-07-2008
21,948
Posted By vikashtulsiyan
How to get Device id information on solaris 8
Hi friends

am writing a script to get the device id of i/o devices on solaris. The command
iostat -iE works well on Solaris 5.9 and 5.10 but fails on solaris 5.8 as there is no 'i' switch with...
Forum: UNIX and Linux Applications 02-05-2008
9,785
Posted By vikashtulsiyan
Is it possible to run .exe in unix
hi friends
i want to know if its possible to run windows exe files in unix.... i know the file system in windows and unix are totally different. but is there any application which allows this????
Forum: Solaris 02-05-2008
2,540
Posted By vikashtulsiyan
thanks Franklin....... It worked:b:
thanks Franklin....... It worked:b:
Forum: Solaris 02-04-2008
2,540
Posted By vikashtulsiyan
thanks buddy.. but there are two prerequisites ...
thanks buddy.. but there are two prerequisites
1) line should start with EVENTS
2) It should contain "Nice Alarms"

only if both the above two conditions is satisfied, the last token is written...
Forum: Solaris 02-04-2008
2,540
Posted By vikashtulsiyan
help regarding sed
this is one of the lines in the file.. I need to extract the last token of the lines
starting with EVENT and having "NICE alarms"
And then put the last token in a new file.

for example since the...
Forum: Solaris 01-23-2008
2,990
Posted By vikashtulsiyan
How to add multiple tar file to a script
I have appended a tar file to my installation script so that while installing i can unzip from there (specifying the starting line number) and install a package.

This work fine if i add one tar...
Forum: Programming 01-11-2008
10,635
Posted By vikashtulsiyan
jason Perderabo idea is cool. but if u want ot "...
jason Perderabo idea is cool. but if u want ot " distribute piece of cake evenly" then you can write an additional code

n=1+rand()%4
switch(n)
{
case 1:
// use perderabo idea starting with...
Showing results 1 to 25 of 42

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