hi ,
i want to store variable but i get always error when i excute this command ligne :
var = awk '{print $1}' file1
echo $var
how can i store the var?
thanks (7 Replies)
Hi,
I have two interfaces on m AIX 5.3 box. One going to 192.168.1.x and it has a gateway of 192.168.1.1.
I configured the other gateway with 192.168.2.x and the default gateway as 192.168.2.1. But I can't get connectivity to the 192.168.2.1 network. Can someone help me out and let me know... (7 Replies)
Dear Sir
I am a newbie in the world of IP telephony. I have been working with Asterisk PBX (SIP) and Cisco Call Manager (MGCP) but now I am learning on how to work GNUGK for H.323 Gatekeeper.
I am having a problem, configuring static call routing on GNUGK
in the section
... (0 Replies)
Are the default password setting parameters (that are in /etc/login.defs) only used when a new local account is created on a server?
It looks to me like a 'useradd userid1' command will look to the /etc/login.defs file to get default values for MINWEEKS MAXWEEKS and PASSLENGTH. If the parms are... (2 Replies)
Hi,
I have server that I change its network configuration from using DHCP to using static IP.
I have edited the file /etc/sysconfig/network-scripts/ifcfg-eth0
To:
BOOTPROTO=STATIC
IPADDR=xxx.xxx.xxx.xxx
NETMASK=255.255.255.0
GATEWAY=yyy.yyy.yyy.yyy
I did
/etc/init.d/network... (2 Replies)
Hi..I have to change default gateway in my linux machine. Its OS is RHEL6.
I followed following steps.
1.run command ip route to check current default gateway
2.delete that gateway with command
route del default gw x.x.x.x eth2
3.Add new gatewy with command below
route add default gateway... (3 Replies)
I am am using IPv6 IP's with an OS of Debian.
Is it possible to set a *static* default gateway w/o the router being connected? Will that gateway change when the router is connected?
TIA (0 Replies)
Dear friends
I use RedHat 6.5, which sets the gateway in the configuration file / etc / sysconfig / network as GATEWAY = 192.168.1.26, and the gateway in the configuration file / etc / sysconfig / network-scripts / ifcfg-eth11 as GATEWAY = 192.168.1.256. The two gateways are different.... (6 Replies)
Discussion started by: tanpeng
6 Replies
LEARN ABOUT X11R4
xkblockmodifiers
XkbLockModifiers(3) XKB FUNCTIONS XkbLockModifiers(3)NAME
XkbLockModifiers - Locks and unlocks any of the eight real keyboard modifiers
SYNOPSIS
Bool XkbLockModifiers ( display, device_spec, affect, values )
Display *display;
unsigned int device_spec;
unsigned int affect;
unsigned int values;
ARGUMENTS
display
connection to the X server
device_spec
device ID, or XkbUseCoreKbd
affect mask of real modifiers whose lock state is to change
values 1 => lock, 0 => unlock; only for modifiers selected by affect
DESCRIPTION
XkbLockModifiers sends a request to the server to lock the real modifiers selected by both affect and values and to unlock the real modi-
fiers selected by affect, but not selected by values. XkbLockModifiers does not wait for a reply from the server. It returns True if the
request was sent, and False otherwise.
The functions in this section that change the use of modifiers use a mask in the parameter affect. It is a bitwise inclusive OR of the
legal modifier masks:
Table 1 Real Modifier Masks
----------------------------
Mask
----------------------------
ShiftMask
LockMask
ControlMask
Mod1Mask
Mod2Mask
Mod3Mask
Mod4Mask
Mod5Mask
RETURN VALUES
True The XkbLockModifiers function returns True if a request is sent to the server to lock the real modifiers selected by both
affect and values and to unlock the real modifiers selected by affect, but not selected by values.
False The XkbLockModifiers function returns False if the request was not sent.
X Version 11 libX11 1.2.1 XkbLockModifiers(3)