I am new to scripting and facing some issues in writing the logic of the script. Request your kind help here
Actually when i run a command i get o/p as below
o/p :
these are hex values i guess...now i want to read all the values and if all the values are same(i.e 0x0000) then it should print "ok" if any one or more than one values are other than 0x0000 then it should print "not ok". I have written something as below but it shows incorrect o/p
I'm using the below command to list files older than 2 hours but it returns redundant output, am I missing something.
# find . -mmin +120 -exec ls -l {} \;
total 0
-rw-r--r-- 1 root system 0 Oct 13 09:52 test1
-rw-r--r-- 1 root system 0 Oct 13 09:52 test2
-rw-r--r-- 1 root ... (5 Replies)
Hi,
I have a very frustrating issue! I hope you guys can assist
When a disk is presented out the iSCSI target display a lower disk capacity
SOLARIS VERSION is SOLARIS 10 05/09 Kernel Patch 139555-31
ISCSI Patch 119090-31, 141878-11
Unix Commands To discover Target
bash-3.00# i... (0 Replies)
Hi, I have the following file called addresses, (it is a large file i have only copy and pasted few of the data below) and I am wanting to write a command so it will Find the ratio of mobile (07....) to land line (01....) telephone numbers?
then find the most popular first name and list the... (1 Reply)
Running solaris 9, on issuing the follwing command
df -h | awk '$5 > 45 {print}'
Filesystems with utilisation > 45% are being displayed as well as those between
5 and-9%!!! (3 Replies)
Hi,
This is Solaris-10 box and in few of file-system (root file-system of non global zones), usage/available is not showing correct size. I am not able to figure out, what is eating up this space.
Global Server - bdrpod01
Non Global zone - bdrpod01-zputq01
root@bdrpod01:/root# df -h... (2 Replies)
Hello
I am working on one script where I am trying to display all the directories which is inside the workspace but somehow it is giving me weird output and this is occurring only with one directory other also having the result.html file inside the directory.
for i in `ls -1 | egrep -iv... (2 Replies)
Hi Folks,
I have a situation here, where no command is giving any output, and it's not even showing any error message also.
What could be the reason? (3 Replies)
Hi All
I am working on AIX 7.1 and I am trying to show an output that I get from "cat" a log file to email. However in email I get the below output:
In the script I have defined the colors as:
#!/bin/sh
echo "\033
Below is the script I have created to send this output:
... (9 Replies)
I am searching for a process that should be up and running. Im using the following command
ps -ef | grep elasticsearch
to get
elastic+ 1673 1 0 Jan29 ? 05:08:56 /bin/java -Xms4g -Xmx4g -Djava.awt.headless=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC... (1 Reply)
Discussion started by: Junaid Subhani
1 Replies
LEARN ABOUT DEBIAN
filter-key
filter-key(7) GGI filter-key(7)NAME
filter-key, filter-keytrans - Generic key event translator
SYNOPSIS
filter-key: [<file>]
filter-keytrans: [<file>]
DESCRIPTION
This filter translates key events according to a set of translation rules. This can be used to remap a keyboard.
OPTIONS
file The name of the configuration file. If none given, the filter will first look for the file filter/keytrans in the user GGI directory
($HOME/.ggi/ on UNIX), then in the base GGI directory if not found.
CONFIGURATION
The mapping is specified through a simple text file, each line being a translation rule. A line starting with a # is a comment. Each line
must contain 10 values in the following order:
modifier_mask
Consider only the bits set here.
modifier_value
The bits set above must match this value.
button_in, label_in, symbol_in
If this is not KEY_UNMAPPED==0xffff, the button/label/symbol of the incoming key must match these fields.
modifier_changemask
Change these bits from the original modifiers...
modifier_ormask
... set them to these - one shouldn't use that.
button_out, label_out, symbol_out
The data that is then sent by the keymapper. Any fields set to KEY_UNMAPPED==0xffff will be copied from the incoming event.
EXAMPLE
Mapping a symbol:
# Take any key that produces a symbol of 0x41 ('A') map it to ESC
#
# modmsk modval buttin lablin symin modchg modor butout labout symout
0x0000 0x0000 0xffff 0xffff 0x0041 0x0000 0x0000 0xffff 0xffff 0x001b
libgii-1.0.x 2003-08-11 filter-key(7)