01-20-2005
Any reasons for not just always using "su -"? Just one extra key. Why would you even bother using "su"?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i know this is a stupid question but...can awk do more than print? can i have it assign a value from a file list to a variable in the script? (1 Reply)
Discussion started by: MadHatter
1 Replies
2. UNIX for Dummies Questions & Answers
i have a file that contain lines like this
9.4.7.8.5.7.9.0.5.7.1.2.msisdn.sub.cs. 1 IN CNAME SDP01.cs.
there are about 50,000 lines like this in the files i want to the extract the digits from the above line like:-
947857905712
OS Solaris9 (3 Replies)
Discussion started by: muneebr
3 Replies
3. Shell Programming and Scripting
Hi, pls advise how could we merge contents of lines from 2 different files into 1 file but shares common label continously as in the following example:
Thanks in advance...rgds.
File1:
// line: 0
abc
def
// line: 1
ghi
jkl
File2:
// line: 0
mno
pqr
// line: 1
stu
vwx
End... (3 Replies)
Discussion started by: Manan
3 Replies
4. Solaris
Hi,,,,,
My question is :
i have to backup a file system of size 92 GB
/dev/dsk/c1t1d0s2 135G 92G 41G 70% /data
i use the command :
ufsdump 0cfu /backup/c1t1d0s2 /dev/rdsk/c1t1d0s2 ......
the output file of the backup is only 2 GB it's normal ?? or i have do a... (0 Replies)
Discussion started by: tt155
0 Replies
5. Shell Programming and Scripting
Hi
how can I know the details of when valid system users last logged on?
thanks (1 Reply)
Discussion started by: nokia1100
1 Replies
6. Shell Programming and Scripting
Hi,
I'm a oracle DBA with little knowledge of Unix.
I wanted to write some shell scripts which will be helpful for DBA's regular activity.
As i'm a new to oracle with unix can any plese tell me what are all the activities can be done throgh Unix Shell Scripts also suggest me how to learn... (1 Reply)
Discussion started by: msgobinathan
1 Replies
7. Forum Support Area for Unregistered Users & Account Problems
I hadn't logged on here in several months. I want to update my info, such as the email address that I can be contacted at, but I don't see any links to do that. (1 Reply)
Discussion started by: cleopard
1 Replies
8. UNIX for Dummies Questions & Answers
Hiya all ... i am a newbie to UNIX,
Just want to knwo what this command does:
/sbin/ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}'
I think, 'grep shows the line with 'inet addr' (which is the 2nd line, displaying the IP Address, Broadcast Address and Subnet Mask) ... Is... (8 Replies)
Discussion started by: ad4m88
8 Replies
9. Shell Programming and Scripting
I have this working ksh, and it returns like below:
LOGICAL VOLUME: prod_2048_005 VOLUME GROUP: prod1vg
TYPE: raw WRITE VERIFY: off
PHYSICAL VOLUME: hdisk108 VOLUME GROUP: prod1vg
TOTAL PPs: 1023 (130944 megabytes) VG DESCRIPTORS: 1
USED PPs: 904 (115712 megabytes) MAX REQUEST: 1 megabyte... (1 Reply)
Discussion started by: Daniel Gate
1 Replies
10. UNIX for Advanced & Expert Users
I need to find a way to query the OS (on Linux or Unix) to get details about the host machines processor type and the primary hard drive serial number. Is this possible?
Thank you for any Guru help you can provide! (2 Replies)
Discussion started by: Pug
2 Replies
LEARN ABOUT CENTOS
xcb_ungrab_key_checked
xcb_ungrab_key(3) XCB Requests xcb_ungrab_key(3)
NAME
xcb_ungrab_key - release a key combination
SYNOPSIS
#include <xcb/xproto.h>
Request function
xcb_void_cookie_t xcb_ungrab_key(xcb_connection_t *conn, xcb_keycode_t key, xcb_window_t grab_window, uint16_t modifiers);
REQUEST ARGUMENTS
conn The XCB connection to X11.
key The keycode of the specified key combination.
Using the special value XCB_GRAB_ANY means releasing all possible key codes.
grab_window
The window on which the grabbed key combination will be released.
modifiers The modifiers of the specified key combination.
Using the special value XCB_MOD_MASK_ANY means releasing the key combination with every possible modifier combination.
DESCRIPTION
Releases the key combination on grab_window if you grabbed it using xcb_grab_key before.
RETURN VALUE
Returns an xcb_void_cookie_t. Errors (if any) have to be handled in the event loop.
If you want to handle errors directly with xcb_request_check instead, use xcb_ungrab_key_checked. See xcb-requests(3) for details.
ERRORS
xcb_window_error_t
The specified grab_window does not exist.
xcb_value_error_t
TODO: reasons?
SEE ALSO
xcb-requests(3), xev(1), xcb_grab_key(3)
AUTHOR
Generated from xproto.xml. Contact xcb@lists.freedesktop.org for corrections and improvements.
XCB
2014-06-10 xcb_ungrab_key(3)