I have a file contains
TASK gsnmpproxy {
CommandLine = $SMCHOME/bin/gsnmpProxy.exe
}
TASK gsnmpdbgui {
CommandLine = $SMCHOME/bin/gsnmpdbgui.exe
I would like to comment and than uncomment specific task eg TASK gsnmpproxy
Pls suggest how to do in shell script (9 Replies)
hi, I am new to awk.. and getting used to the scripts. I have a small data set 5 coulms.. 16 rows.
1) I am trying to remove the percentages of each line of colum 3..like first line divided the sum of colum 3 divided by 100 and print it out. removing hte percentages of each line
I would really... (3 Replies)
I have an task definition listing xml file that contains a list of tasks such as
<TASKLIST
<TASK definition="Completion date" id="Taskname1" Some other
<CODE name="Code12"
<Parameter pname="Dog" input="5.6" units="feet" etc /Parameter>
<Parameter... (3 Replies)
Korn Shell in AIX 6.1
I want to print the below shown pipe (|) separated list line by line.
line=es349889|nhb882309|ts00293|snh03524|bg578835|bg37900|rnh00297|py882201|sg175883
for i in line
do
echo "Hello $line "
done
I wanted to execute the above for loop. But i can't even set the... (3 Replies)
This tool for access translate.google.com from terminal and English dictionary.
main mirror https://github.com/Anoncheg1/Command-line-translator
mirror Google translate from command line and some more features - Pastebin.com
requirements: bash, cURL, SpiderMonkey, forvo.com account for... (0 Replies)
This seems to work: https://www.unix.com/shell-programming-scripting/179705-how-run-cygwin-bash-windows-scheduled-task.html
However, I was hoping to avoid writing a 2 line bat files to invoke my cygwin scripts as a scheduled task (since I'm making lots scheduled tasks).
I was hoping this would... (1 Reply)
Hai guys
I am running three shellscripts through Gtk2-Perl(GUI)
these are the scripts
Drccalibrescript1 script2 script3
Gtk2-Perl(GUI)
drccalibre -> If I run this script through Gtk2-Perl(GUI)
these are results of the drccalibrescript1 . summary/.results
I have to find size of... (1 Reply)
Hello,
I am looking for a specific situation in a text file. The conditions are,
> <CompoundName>
InChI=1S/C5H12NO2/c1-5(2)4-8-6(3)7/h5H,4H2,1-3H3/q+1
I am looking for cases where the line "> <CompoundName>" is followed by a line that contains the string "InChI=" without regard to... (5 Replies)
Hi All,
i want to write a shell script read below file line by line and want to exclude the lines which contains empty value for MOUNTPOINT field.
i am using centos 7 Operating system.
want to read below file.
# cat /tmp/d5
NAME="/dev/sda" TYPE="disk" SIZE="60G" OWNER="root"... (4 Replies)
Discussion started by: balu1234
4 Replies
LEARN ABOUT X11R4
xapm
XAPM(1)XAPM(1)NAME
xapm - display Advanced Power Management (APM) BIOS information
SYNOPSIS
xapm [ ... ]
DESCRIPTION
xapm puts up an X window that displays the remaining battery life. The left side of the window contains a printed time or percentage; the
right side of the window contains a bar indicating the percentage. Clicking on the left side of the window will toggle the display between
time and percentage.
OPTIONS AND RESOURCES
In addition to standard Xt options, the following options are available:
-V Print the program version number and exit.
-highcolor color
The color of the bar when the battery percentage is above highvalue. Defaults to "green". (*highColor)
-lowcolor color
The color of the bar when the battery percentage is between lowvalue and highvalue. Defaults to "yellow". (*lowColor)
-criticalcolor color
The color of the bar when the battery percentage is below lowvalue. Defaults to "red". This color is also used to flash the
alphanumeric part of the display when the power status is critical. (*criticalCOlor)
-highvalue highvalue
Set highvalue. The default is 50. (*highValue)
-lowvalue lowvalue
Set lowvalue. The default is 10. (*lowValue)
-chargingcolor color
The color of the printed display when charging. The default is "blue". Use -foreground to change the color used when on battery
power. (*chargingColor)
-delay delay
Sets the number of seconds delay between each update. The default is 1. (*delay)
-percent
Display percentage on startup, instead of time remaining. (*percent, boolean)
-percentauto
Swap automatically between displaying percentage and displaying the time remaining. When on ac power, display percentage, when on
battery power, display the time remaining.
BUGS
There is no way to inhibit the alphanumeric display or the bar display. When the battery percentage is low, using a bright color to warn
you of impending doom may be futile because the bar is too short. Because of the form widget's desire to maintain proportions, dynamic
resizing of the window may not do what you want it to do.
FILES
/proc/apm
AUTHOR
This program was written by Rik Faith (faith@cs.unc.edu) and may be freely distributed under the terms of the GNU General Public License.
There is ABSOLUTELY NO WARRANTY for this program. The current maintainer is Avery Pennarun (apenwarr@worldvisions.ca).
SEE ALSO apm(1), apmd(8).
January 2004 XAPM(1)