Sponsored Content
Full Discussion: Sorting in groups
Top Forums Shell Programming and Scripting Sorting in groups Post 302943516 by jamie_123 on Saturday 9th of May 2015 07:56:38 AM
Old 05-09-2015
Hi,

Thank you for the response. I am a bit confused on the intended usage. Does file2 mean another file which stores the unsorted entries? If I run it on the base file, the entries are not sorted at all.

Thanks.
 

10 More Discussions You Might Find Interesting

1. AIX

Where are my groups

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)
Discussion started by: mhenryj
4 Replies

2. Windows & DOS: Issues & Discussions

putty groups

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)
Discussion started by: karthikn7974
2 Replies

3. Shell Programming and Scripting

groups starting with c2?

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)
Discussion started by: gehlnar
2 Replies

4. Solaris

groups

how to create 1000 users in 1 group (0 Replies)
Discussion started by: tirupathi
0 Replies

5. Solaris

groups

1 user in member of 4 groups find file permissions and default group (1 Reply)
Discussion started by: tirupathi
1 Replies

6. HP-UX

Groups access

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)
Discussion started by: cyberfrog
3 Replies

7. Shell Programming and Scripting

Groups in Unix ???

What is Primary group and Secondary Group in Unix.? (1 Reply)
Discussion started by: gwgreen1
1 Replies

8. UNIX for Dummies Questions & Answers

Understanding Groups

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)
Discussion started by: yoavbe
2 Replies

9. Shell Programming and Scripting

Need help with regex groups

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)
Discussion started by: sam_roy
5 Replies

10. UNIX for Dummies Questions & Answers

Groups

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)
Discussion started by: nthepines
2 Replies
NNUSAGE(1m)															       NNUSAGE(1m)

NAME
nnusage - display nn usage statistics SYNOPSIS
nnusage [ -at ] DESCRIPTION
nnusage will extract the usage entries from the log file and calculate the total usage time for the current user, or for all nn users if -a is specified. When -t is used with the -a option, nnusage will list the users ordered after the total usage time. Otherwise, the output will be sorted according to user names. Since it is possible to suspend nn, or leave the terminal while nn is active, nn tries to be intelligent when it calculates the usage time so it will truly report the actual time spent on news reading. FILES
../Log The log file SEE ALSO
nn(1), nncheck(1), nngoback(1), nngrep(1), nntidy(1) nnacct(1m), nnadmin(1M), nnquery(1M), nnmaster(8) NOTES
If nn is compiled with ACCOUNTING turned on, then calls to nnusage are converted into equivalent calls to nnacct. The nn package must have been compiled with the STATISTICS option turned on to produce the usage entries in the log file. Only nn sessions longer than 5 minutes are registered in the log file. AUTHOR
Kim F. Storm, Texas Instruments A/S, Denmark E-mail: storm@texas.dk 4th Berkeley Distribution Release 6.6 NNUSAGE(1m)
All times are GMT -4. The time now is 06:15 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy