I am looking at a slightly different sorting problem and I am not sure how to do it in bash.
I have the following input:
I want to sort this, but in groups of three elements with the first one being the sorted value. For example line 16 is lesser than line 13 in the input and it must be re-sorted as the following. The two lines following the sorted value must be moved along with it.
Hello
A couple of weeks ago, I added a user to an AIX 5.3 system.
I go to add one today, and it appears that when creating a user in smit, I cannot see any groups.
No primary groups
No Group set
No Admin Groups
The /etc/group and etc/secuity/group files seem to be intact.
I did... (4 Replies)
Hi all,
need info on using putty as group.
I am having huge numbers of servers. (say 100)
I am using putty to login remotely. i want to group each 25 hostnames or a set of servers into one putty instance. (see image attached.)
Currently i have to scroll down to see all the 100 servers.
... (2 Replies)
I have some groups and when i issue a command like
groups $LOGNAME
it displays in one line
rfautosys c2ru cash2
I want to fetch only group starting with c2 but when i grep i am getting full line. Can someone advise
on this please as how i can get output as c2ru? (2 Replies)
Hi all,
Can someone tell me how I can get around this problem. Basically I use the HP-UX OS and I work with 2 top level directories.
/z/group1
/z/group2
these 2 dirs are managed where group1 can only be access by one set of users and group2 another. This is managed by adding the 2... (3 Replies)
Hi
cat /etc/group :
....
oinstall:x:401:
dba:x:400:oracle
...
cat /etc/passwd|grep oracle
oracle:x:130:401::/home/oracle:/bin/ksh
1. Is that mean that :
ORACLE user has OINSTALL as it Primary group and DBA as secondary group ?
2. What is the linux comman to set ORACLE user with... (2 Replies)
I have a requirement - replace specified positions in a string with a character. I found perl regex useful for this approach. however, I am facing the following issue.
The target file 'temp' contains -
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
The goal is to convert... (5 Replies)
Must I be in a group? I am using Ubuntu and am the only user on my PC. I know how to change groups but do not see a way to not be in a group. Any help would be appreciated. (2 Replies)