Get the data lines, cut out the system field, sort them and count each value. Someone once did a sort of SQL in shell, years ago. Now you can get JDBC tools for flat files that let you query.
While logged on as root, I created a user 'usera'
I also created a group called 'groupa'
I need to modify the permission of the user i created to not have root privileges.
I also need to change groupa to be in 'others'
please help!
thanks,
nieves (3 Replies)
I know there is a "groups" command to list the groups a user belongs to, but how about the opposite? Is there a standard command to find out which users belong to a particular group? (2 Replies)
Does anyone know how to get around the unix group file limitation whereby you have a limit of 1024 characters when adding users to a unix group? (3 Replies)
HI friends,
select count(*),country_code from employees_table group by country_code having com_country_code in ("US","UK")
CAn we have an equivalent command in Unix to achieve this
Thanks in advance
Suresh (5 Replies)
In CS140 .... I am having a very hard time with lab 4. I am wondering if we could put together a study group in portland. This could help all of us. Post here and I will PM you my # and we can set it up over the phone. (0 Replies)
How to add a user to the existing user account of a solarise server?
In our solarise server we hav a acc in the name telecom ,now how to add a new user to teleco acc so that he can login in to server through telecom acc.
Thanks to help (4 Replies)
Hi,
I am new to unix. I am facing access permission issue
I want to access path
/app/compress from a user "test" but getting permission denied error
This path exist in "Main" user
So after some googling i came to know we need to add "test" user in "main" group
so path /app/compress ... (7 Replies)
Hi team i have input file
name,dep,sal
xxx,1,100
yyy,2,,200
zzz,1,3000
eeee,1,200
ttttt,2,500
zzz,2,123
xyxy,3,1000
and output i require as below i.e highest value from colum3 grouping bydep, with all three columns name,dep,sal
name,dep,sal
zzz,1,3000
ttttt,2,500
xyxy,3,1000 (3 Replies)
Hi All,
I am using RHEL 6.9. I got a requirement to group the records in a file.The file content as shown below.
#### FAILED JOBS IN XXX #####
1> ABCD failed in the project XXX
2> HJK Job is in compiled state in the project XXX
3> ILKD failed in the project XXX
4> DFG failed in the... (5 Replies)
Discussion started by: ginrkf
5 Replies
LEARN ABOUT OSF1
xcmscccofcolormap
XcmsCCCofColormap(3X11)XcmsCCCofColormap(3X11)NAME
XcmsCCCofColormap, XcmsSetCCCOfColormap - query and modify CCC of a colormap
SYNOPSIS
XcmsCCC XcmsCCCOfColormap(display, colormap)
Display *display;
Colormap colormap;
XcmsCCC XcmsSetCCCOfColormap(display, colormap, ccc)
Display *display;
Colormap colormap;
XcmsCCC ccc;
ARGUMENTS
Specifies the connection to the X server. Specifies the CCC. Specifies the colormap.
DESCRIPTION
The XcmsCCCOfColormap function returns the CCC associated with the specified colormap. Once obtained, the CCC attributes can be queried or
modified. Unless the CCC associated with the specified colormap is changed with XcmsSetCCCOfColormap, this CCC is used when the specified
colormap is used as an argument to color functions.
The XcmsSetCCCOfColormap function changes the CCC associated with the specified colormap. It returns the CCC previously associated with the
colormap. If they are not used again in the application, CCCs should be freed by calling XcmsFreeCCC. Several colormaps may share the same
CCC without restriction; this includes the CCCs generated by Xlib with each colormap. Xlib, however, creates a new CCC with each new col-
ormap.
SEE ALSO DisplayOfCCC(3X11), XcmsConvertColors(3X11), XcmsCreateCCC(3X11), XcmsDefaultCCC(3X11), XcmsSetWhitePoint(3X11)
Xlib -- C Language X Interface
XcmsCCCofColormap(3X11)