hi all
i have joined new to the group.
i have set an variable in my bashrc file.
.bashrc
PROGHOME=/home/braf/braf/prog
export PROGHOME
but while using it in my shell script its path is not taken and i had to explicitly give the export command to set the path.
in my script... (8 Replies)
I have a simple query
If we have BATCH= 081675
and incremnting it by one as
BATCH=`expr ${BATCH} + 000001`;
We can't get BATCH = 081676
but gets BATCH = 81676
Can anyone tell why i am getting this value and not the rquired one and how i could get the required one? (1 Reply)
Dear All,
we have a command output which looks like :
Total 200 queues in 30000 Kbytes
and we're going to get "200" and "30000" for further process. currently, i'm using :
numA=echo $OUTPUT | awk '{print $2}'
numB=echo $OUTPUT | awk '{print $5}'
my question is : can I use just one... (4 Replies)
when I write the kourne shell script on a solaris machaine like this:
#!/bin/ksh
myps =50
echo $myps
and when I run this script with typing "myfile"
, it shows this message:
myfile: myps: not found
I think I write a correct syntax but why a program show error like that. (3 Replies)
I have a file with the following format
--TABLEA_START--
field1=data1;field2=data2;field3=data3
--TABLEA_END--
--TABLEB_START--
field1=data1;field2=data2;field3=data3
--TABLEB_END--
--TABLEA_START--
field1=data1;field2=data2;field3=data3
... (0 Replies)
Hi,
I have a text file that has a long multi-line db2 CTE query. Now I want to store all the contents of this file (i.e. the entire query) in a shell script variable. I am trying to achieve it by this: query = `cat /Folder/SomeFile.txt` But when I echo the contents of this file by saying echo... (4 Replies)
I have a shell script (.sh) and I want to pass a parameter value to the awk command but I am getting exception, please assist.
diff=$1$2.diff
id=$2 new=new_$diff
echo "My id is $1"
echo "I want to sync for user account $id"
##awk command I am using is as below
cat $diff | awk... (2 Replies)
I need to add new ID to the file with old ID (column 7), I collected old ID / new ID pairs in a lookup file and I am trying to use awk to do the job, but something is not clicking.
My input file
ABC| 107|1440589221| -118.117167| 33.986333|10| 497476|1
ABC| 125|1440591215| -118.181000| ... (4 Replies)
Hi everyone,
Let me start by stating this question is for homework help (not "help, my boss needs this ASAP")
I have spent the last few days re-visiting this script, and cannot figure out where I am going wrong (something simple I'm sure).
I am to build a script that searches for a user... (1 Reply)
I have the following script, and I want to assign the output ($10 and $5) from awk to N and L:
grdinfo data.grd | awk '{print $10,$5}'| read N L
output from gridinfo data.grd is: data.grd 50 100 41 82 -2796 6944 0.016 0.016 3001 2461. where N and L is suppose to be 3001 and 100. I use... (8 Replies)
Discussion started by: geomarine
8 Replies
LEARN ABOUT SUNOS
gnome-at-properties
gnome-at-properties(1) User Commands gnome-at-properties(1)NAME
gnome-at-properties - enable support for Assistive Technologies in GNOME
SYNOPSIS
gnome-at-properties [gnome-std-options]
DESCRIPTION
Use gnome-at-properties, the Assistive Technology preference tool, to enable assistive technologies in your desktop. You can use gnome-at-
properties to specify that the following assistive technology applications start automatically when you log in:
o Screenreader
o Magnifier
o On-screen Keyboard
OPTIONS
The following options are supported:
gnome-std-optionStandard options available for use with most GNOME applications. See gnome-std-options(5) for more information.
EXAMPLES
Example 1: Launching Assistive Technology Preference Tool
example% gnome-at-properties
EXIT STATUS
The following exit values are returned:
0 Application exited successfully
>0 Application exited with failure
FILES
The following files are used by this application:
/usr/bin/gnome-at-properExecutable for Assistive Technology preference tool
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+------------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+------------------------------+
|Availability |SUNWgnome-desktop-preferences |
+-----------------------------+------------------------------+
|Interface stability |External |
+-----------------------------+------------------------------+
SEE ALSO
Latest version of the GNOME Desktop User Guide for your platform.
cddb-slave2-properties(1), gnome-accessibility-keyboard-properties(1), gnome-background-properties(1), gnome-default-applications-proper-
ties(1), gnome-file-types-properties(1), gnome-font-properties(1), gnome-keybinding-properties(1), gnome-keyboard-properties(1), gnome-
mouse-properties(1), gnome-network-preferences(1), gnome-panel-preferences(1), gnome-session-properties(1), gnome-sound-properties(1),
gnome-theme-properties(1), gnome-ui-properties(1), metacity-properties(1), gnome-std-options(5)NOTES
Written by Glynn Foster, Sun Microsystems Inc., 2004.
SunOS 5.10 6 Sep 2004 gnome-at-properties(1)