Search Results

Search: Posts Made By: mike12
32,212
Posted By mike12
H Chubler. The one you mentioned is right....
H Chubler.

The one you mentioned is right. But when I put on the code I dont see any output though.

From your previous codes, group names full length is retrieved the only problem is with the...
32,212
Posted By mike12
S, I get the output as in post 39 but with...
S,

I get the output as in post 39 but with the UID off from the output;

-rwxrwxr-x1 Func-Wireless-consumers 10 Jan 27 12:21 list.sh
-rwxr-x--- 1 Func-Wireless-consumers 80 Jan 28 09:25...
32,212
Posted By mike12
Hi S, When I do for the lsuser I get in the...
Hi S,

When I do for the lsuser I get in the following format :

#name : id
mike001: 74861

and so on for all users and for lsgroup

#name:id
Func-Wireless-Consumers :1399683538 and so...
32,212
Posted By mike12
Hi S, Your code worked fine after the tweak....
Hi S,

Your code worked fine after the tweak. The UID is just displaying in the numeric format but apart from that it is completely fine. Is there anything can be added to the code to make...
32,212
Posted By mike12
Thanks for the explanation S. Do I have to...
Thanks for the explanation S.

Do I have to tweak the code little bit in the substitute field 3 and 4 to have the UID displayed? (The UID is the third column which gets removed but the long group...
32,212
Posted By mike12
Hi Chubler, Loads of thanks regarding this...
Hi Chubler,

Loads of thanks regarding this issue from the start... Appreciate it!!!

The script works fine. But based on your example where you say the UID root, chubler (UID column) doesn't...
32,212
Posted By mike12
script
Hi Scrutinizer,

Thanks a lot for the script. It worked. But can you please run me through the script?


Thanks again,
Mike
32,212
Posted By mike12
Re; Script
Hi Scrutinizer,

I couldn't run the script which you gave. It is incomplete I believe. And can you please test that for me and let me know about that?

Appreciate!!

Mike
32,212
Posted By mike12
Hi aix-guy, I can link it up but how do i...
Hi aix-guy,

I can link it up but how do i put in code to reflect the complete groupname displayed?

Thanks
32,212
Posted By mike12
hi, Im using AIX. when i type the...
hi,

Im using AIX.

when i type the code it says:
grep: 0652-033 Cannot open /etc/nsswitch.conf.
and for
$which getent

which: 0652-141 There is no getent in...
32,212
Posted By mike12
I will check that again on server and let you...
I will check that again on server and let you know. And when time permits if you could run through the code about the first part in the for and while loop and the printf statement ( the methodology...
32,212
Posted By mike12
Hi, I tried from putty and this was the...
Hi,

I tried from putty and this was the output I got:

ypcat: no such map passwd.byname. reason: Request arguments bad
./san: 4: Syntax error: "(" unexpected

Thanks
Mike
32,212
Posted By mike12
Hi, After running the code as you have sent...
Hi,

After running the code as you have sent I get the following output. I have attached the code too below. Sorry for the inconvenience since I'm a newbie to this :)

Hi,

I tried as you have...
32,212
Posted By mike12
Hi Chubler, Thanks again. The main issue is...
Hi Chubler,

Thanks again. The main issue is I cant put it in my path, I have to put this code in .profile so that any user who types ls should have the longlist group name ( Just the groupname...
32,212
Posted By mike12
Hi, This is what I get when I type ls -ntra...
Hi,

This is what I get when I type ls -ntra

-rwxrwxr-x 1 1750560623 1750560023 110 Jan 27 12:21 list.sh
-rwxr-x--- 1 1750560623 1750560023 80 Jan 28 09:25 .desk...
32,212
Posted By mike12
Hi Chubbler, I couldn't access my server for...
Hi Chubbler,

I couldn't access my server for some reason it is down I guess. I was trying for a while but I couldn't. But I for the awk script I was using in this fashion
[awk '{printf "%-12s %6s...
32,212
Posted By mike12
Thanks a lot for the reply. When I run your...
Thanks a lot for the reply. When I run your script I get the following:

drwxr-xr-x 3 10 Functional-Wireless-Consumers 2011-01-03 23:29 install-media
drwx------ 2 10 ...
32,212
Posted By mike12
If I enter ls -ltra I will get the output of the...
If I enter ls -ltra I will get the output of the groupname in this truncated format

uid Group name
-rw-r--r-- 1 Mike ...
32,212
Posted By mike12
Hi Chubler, Thanks for your reply. But for...
Hi Chubler,

Thanks for your reply. But for making all the users to view their complete group names in the listing it would be tougher to do that everytime. So having a script in the root .profile...
Forum: Solaris 01-31-2011
1,359
Posted By mike12
Listing the long groupnames
Hello,

When listing the file systems (using ls -ltr) , if the group names are longer the group name is getting truncated.

Can someone help with the script which would display the truncated...
2,026
Posted By mike12
shell script for long listing of groupnames
Hello,

When listing the file systems (using ls -ltr) , if the group names are longer the group name is getting truncated.

Can someone help with the script which would display the truncated...
2,826
Posted By mike12
script regarding listing long group names
Hello,

When listing the file systems (using ls -ltr) , if the group names are longer the group name is getting truncated.

Can someone help with the script which would display the truncated...
32,212
Posted By mike12
Help regarding shell script
Hello,

When listing the file systems (using ls -ltr) , if the group names are longer the group name is getting truncated.

Can someone help with the script which would display the truncated...
Showing results 1 to 23 of 23

 
All times are GMT -4. The time now is 12:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy